Merge branch 'chmodsayshello-main-patch-61052' into 'main'

remove debug logging

See merge request chmodsayshello/TheBridge!1
This commit is contained in:
chmodsayshello 2022-10-03 11:46:58 +00:00
commit 9ec8b56722
1 changed files with 0 additions and 2 deletions

View File

@ -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