workaround engine bugs
parent
8ebd291fa7
commit
0b8eb150f0
|
@ -325,24 +325,6 @@ arena_lib.on_time_tick('wormball', function(arena)
|
|||
end
|
||||
|
||||
for pl_name,stats in pairs(arena.players) do
|
||||
<<<<<<< Updated upstream
|
||||
=======
|
||||
|
||||
--testing
|
||||
local test_pl = minetest.get_player_by_name(pl_name)
|
||||
local test_state = ""
|
||||
if test_pl:get_attach() == nil then
|
||||
test_state = 'not attached'
|
||||
else
|
||||
test_state = 'attached'
|
||||
end
|
||||
--minetest.chat_send_all("time: "..arena.current_time.." player "..pl_name.. ' is '..test_state)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
>>>>>>> Stashed changes
|
||||
local rand_pos = {x = math.random(x1,x2),y = math.random(y1,y2), z=math.random(z1,z2)}
|
||||
local item = 'none'
|
||||
if math.random(1,3)== 1 then
|
||||
|
|
16
nodes.lua
16
nodes.lua
|
@ -194,22 +194,6 @@ minetest.register_entity('wormball:player_att',{
|
|||
|
||||
|
||||
end,
|
||||
<<<<<<< Updated upstream
|
||||
=======
|
||||
-- on_attach_child = function(self, child)
|
||||
-- if child:is_player() then
|
||||
-- minetest.chat_send_all(child:get_player_name()..' was attached')
|
||||
-- end
|
||||
|
||||
-- end,
|
||||
-- on_detach_child = function(self, child)
|
||||
-- if child:is_player() then
|
||||
-- minetest.chat_send_all(child:get_player_name()..' was detached')
|
||||
-- end
|
||||
|
||||
-- end,
|
||||
>>>>>>> Stashed changes
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue