From 4304397a01e78856b7763a1e38589efb34681499 Mon Sep 17 00:00:00 2001 From: philipmi Date: Sat, 30 Apr 2022 16:16:28 +0200 Subject: [PATCH] Pros should move items to the main chest section by default --- mods/ctf/ctf_map/ctf_map_core/chest.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ctf/ctf_map/ctf_map_core/chest.lua b/mods/ctf/ctf_map/ctf_map_core/chest.lua index a9ef0ba..c41cb39 100644 --- a/mods/ctf/ctf_map/ctf_map_core/chest.lua +++ b/mods/ctf/ctf_map/ctf_map_core/chest.lua @@ -97,6 +97,7 @@ for _, chest_color in pairs(colors) do formspec = formspec .. "list[" .. chestinv .. ";pro;4,0.3;4,7;]" .. "listring[" .. chestinv ..";pro]" .. "listring[" .. chestinv .. ";helper]" .. + "listring[current_player;main]" .. "label[5,-0.2;" .. minetest.formspec_escape("Pro players only") .. "]" else