diff --git a/mods/ctf/ctf_modebase/player.lua b/mods/ctf/ctf_modebase/player.lua index dd7f64ae46..e8e91af728 100644 --- a/mods/ctf/ctf_modebase/player.lua +++ b/mods/ctf/ctf_modebase/player.lua @@ -170,7 +170,7 @@ function ctf_modebase.player.give_initial_stuff(player) end for stack, idx in pairs(tmp) do - if not new[idx] == stack then + if new[idx] ~= stack then table.insert(new, stack) end end