From eb29d1311d6ccd8e1f34fc86d4ace55d21df672e Mon Sep 17 00:00:00 2001 From: J Reece Wilson Date: Fri, 25 Aug 2023 14:13:44 +0100 Subject: [PATCH] [*] Fix potential issue with overloading false settings --- Public/base.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Public/base.lua b/Public/base.lua index 4f4db5b..565b1ea 100644 --- a/Public/base.lua +++ b/Public/base.lua @@ -8,7 +8,7 @@ function auFetchGlobal(name) end function auSetDefault(table, key, default) - if (not table[key]) then + if (table[key] == nil) then table[key] = default end end