From 77a4f3d4013071859a2fe5a9256087e5a91d114b Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sat, 15 Feb 2025 23:12:56 +0100 Subject: [PATCH] Bugfix in table.removeValue --- cf-lib/util/table.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cf-lib/util/table.lua b/cf-lib/util/table.lua index 1cdfc11..aa92228 100644 --- a/cf-lib/util/table.lua +++ b/cf-lib/util/table.lua @@ -46,7 +46,7 @@ end table.removeValue = function(target, value) for i, v in ipairs(target) do if v == value then - target.remove(target, i) + table.remove(target, i) return target end end