chore: simple
This commit is contained in:
parent
66cfd9c21a
commit
a852a906be
|
@ -36,8 +36,7 @@ export class Behaved extends decorate(Trait) {
|
|||
entity: this.entity,
|
||||
});
|
||||
this._currentRoutine = undefined;
|
||||
const routinesJSON = this.params.routines;
|
||||
this._routines = (new Routines()).fromJSON(routinesJSON);
|
||||
this._routines = (new Routines()).fromJSON(this.params.routines);
|
||||
this.updateCurrentRoutine(this.state.currentRoutine);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user