[*] Fix potential issue with overloading false settings
This commit is contained in:
parent
5540fcbd79
commit
eb29d1311d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user