bugfix - actually set the properties of a tile

This commit is contained in:
Kim Ravn Hansen
2025-10-16 18:57:39 +02:00
parent 6f0e564dfd
commit d7ff5b432b

View File

@@ -156,6 +156,8 @@ export class Tile {
if (!Object.hasOwn(this, key) /* Object.prototype.hasOwnProperty.call(this, key) */) { if (!Object.hasOwn(this, key) /* Object.prototype.hasOwnProperty.call(this, key) */) {
console.warn("Unknown tile property", { key, val, properties }); console.warn("Unknown tile property", { key, val, properties });
} }
this[key] = val;
} }
// //