diff --git a/src/Utility/merge.luau b/src/Utility/merge.luau index 63b3446d7..89c07685c 100644 --- a/src/Utility/merge.luau +++ b/src/Utility/merge.luau @@ -20,10 +20,10 @@ local function merge( return into else for key, value in from do - if into[key] == nil then - into[key] = value - elseif overwrite == "none" then + if into[key] ~= nil and overwrite == "none" then External.logError("mergeConflict", nil, tostring(key)) + else + into[key] = value end end return merge(if overwrite == "first" then "none" else overwrite, into, ...)