aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua
index 8611946a1..0d56e689d 100644
--- a/lualib/lua_util.lua
+++ b/lualib/lua_util.lua
@@ -535,7 +535,7 @@ local function override_defaults(def, override)
end
for k,v in pairs(def) do
- if not res[k] then
+ if type(res[k]) == 'nil' then
res[k] = v
end
end