fix instance code

This commit is contained in:
MathMan05 2025-03-16 17:12:17 -05:00
parent 3d694088bd
commit e3bcb9dd67
2 changed files with 33 additions and 33 deletions

View file

@ -118,7 +118,7 @@ async function updateInstances(): Promise<void> {
const existingInstance = instanceNames.get(instance.name);
if (existingInstance) {
for (const key of Object.keys(instance)) {
if (!existingInstance[key]) {
if (!(key in existingInstance)) {
existingInstance[key] = instance[key];
}
}