true as table

This commit is contained in:
hrsh7th
2021-09-07 15:58:11 +09:00
parent b6b15d5f6e
commit 1481552c26

View File

@@ -38,6 +38,12 @@ misc.merge = function(v1, v2)
if v1 == nil then
return v2
end
if v1 == true then
if merge2 then
return v2
end
return {}
end
return v1
end