Fix merge bug

This commit is contained in:
hrsh7th
2021-08-11 22:45:05 +09:00
parent ab616ffe88
commit 4c9462c28c

View File

@@ -35,7 +35,10 @@ misc.merge = function(v1, v2)
end
return new_tbl
end
return v1 or v2
if v1 == nil then
return v2
end
return v1
end