From 284eda873e580996022899a6a7f67383f4eead62 Mon Sep 17 00:00:00 2001 From: LoneWolfHT Date: Wed, 1 Nov 2023 13:39:38 -0700 Subject: [PATCH] Fix luacheck warning --- mods/ctf/ctf_modebase/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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