remove debug logging
This commit is contained in:
parent
660a116c02
commit
a4c16ea282
|
@ -18,12 +18,10 @@ local function after_goal(arena)
|
|||
end
|
||||
|
||||
local goalfunc = function(pos, node, player)
|
||||
minetest.log("check!")
|
||||
if not player then return end
|
||||
arena = arena_lib.get_arena_by_player(player:get_player_name())
|
||||
if not arena then return end
|
||||
|
||||
minetest.log("check passed!")
|
||||
nodename = node.name
|
||||
if nodename == "the_bridge:goal_area_red" then
|
||||
arena.teams[team_id_red].goals = arena.teams[team_id_red].goals +1
|
||||
|
|
Loading…
Reference in New Issue