chore: remove assert
This commit is contained in:
parent
a5a09cbcba
commit
bf01a5d86b
|
@ -133,9 +133,6 @@ export class Alive extends decorate(Trait) {
|
||||||
this._context
|
this._context
|
||||||
)
|
)
|
||||||
this._dyingTickingPromise.then(() => {
|
this._dyingTickingPromise.then(() => {
|
||||||
if (!this.entity.is('existent')) {
|
|
||||||
throw new Error("STATE PROBLEM: non-existent entity up for death");
|
|
||||||
}
|
|
||||||
this.entity.destroy();
|
this.entity.destroy();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user