diff --git a/mods/ctf_match/matches.lua b/mods/ctf_match/matches.lua index d85f6fa..b0cfd4e 100644 --- a/mods/ctf_match/matches.lua +++ b/mods/ctf_match/matches.lua @@ -59,7 +59,10 @@ ctf.register_on_new_game(function() }) ctf_flag.add(name, flag) - ctf_flag.assert_flag(flag) + + minetest.after(0, function() + ctf_flag.assert_flag(flag) + end) else ctf.warning("match", "Invalid team setup: " .. dump(v)) end