fix: entityList never doesn't exist
This commit is contained in:
parent
ab9228a405
commit
6438736e43
|
@ -128,10 +128,8 @@ export class Layer extends decorate(class {}) {
|
|||
}
|
||||
|
||||
tick(elapsed) {
|
||||
if (this.entityList) {
|
||||
this.entityList.tick(elapsed);
|
||||
this._state = this._state.set('entityList', this.entityList.state);
|
||||
}
|
||||
this.entityList.tick(elapsed);
|
||||
this._state = this._state.set('entityList', this.entityList.state);
|
||||
this._state = this._state.set('tilesetUri', this.tilesetUri);
|
||||
this.tiles.tick(elapsed);
|
||||
this._state = this._state.set('tiles', this.tiles.state);
|
||||
|
|
Loading…
Reference in New Issue
Block a user