[*] Fix potential issue with overloading false settings

This commit is contained in:
Reece Wilson 2023-08-25 14:13:44 +01:00
parent 5540fcbd79
commit eb29d1311d

View File

@ -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