From 77d622b10c5477e857632e81355875d42d44cc5f Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 26 Jan 2018 23:24:31 +0000 Subject: [PATCH] Readd clear objects at end of round --- mods/ctf_map/schem_map.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/ctf_map/schem_map.lua b/mods/ctf_map/schem_map.lua index 1be6c2c..5f609ba 100644 --- a/mods/ctf_map/schem_map.lua +++ b/mods/ctf_map/schem_map.lua @@ -173,6 +173,8 @@ function ctf_match.load_map_meta(idx, name) end ctf_match.register_on_new_match(function() + minetest.clear_objects({ mode = "quick" }) + -- Choose next map index, but don't select the same one again local idx if ctf_map.map then