Improve error message when merging an override fails

This commit is contained in:
Pieter Vander Vennet 2024-04-22 23:43:30 +02:00
parent b484ea005b
commit f2d4458e15
4 changed files with 25 additions and 13 deletions

View file

@ -622,9 +622,6 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
}
for (const key in source) {
if (!source.hasOwnProperty(key)) {
continue
}
if (key.startsWith("=")) {
const trimmedKey = key.substr(1)
target[trimmedKey] = source[key]