chore: simple
This commit is contained in:
parent
0f3ec08491
commit
f6622d6919
|
@ -68,11 +68,9 @@ export class Alive extends decorate(Trait) {
|
|||
this._context = new Context({
|
||||
entity: this.entity,
|
||||
});
|
||||
const actionsJSON = this.params.deathActions;
|
||||
this._deathActions = behaviorItemFromJSON(actionsJSON);
|
||||
this._deathActions = behaviorItemFromJSON(this.params.deathActions);
|
||||
this._deathSound = this.params.deathSound;
|
||||
const conditionJSON = this.params.deathCondition;
|
||||
this._deathCondition = behaviorItemFromJSON(conditionJSON);
|
||||
this._deathCondition = behaviorItemFromJSON(this.params.deathCondition);
|
||||
this._dyingTickingPromise = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user