Fix #893
This commit is contained in:
@@ -99,6 +99,9 @@ misc.merge = function(v1, v2)
|
||||
if v2 == misc.none then
|
||||
return nil
|
||||
else
|
||||
if type(v2) == 'table' then
|
||||
return misc.merge({}, v2)
|
||||
end
|
||||
return v2
|
||||
end
|
||||
end
|
||||
@@ -251,3 +254,4 @@ misc.redraw = setmetatable({
|
||||
})
|
||||
|
||||
return misc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user