bugfix - actually set the properties of a tile
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user