This commit is contained in:
Tony Garnock-Jones 2021-02-23 11:15:18 +01:00
parent 3d4a6b9bb6
commit f0c1c8665e
1 changed files with 2 additions and 3 deletions

View File

@ -124,9 +124,8 @@ export class Turn {
});
}
sync(location: Ref<any>): Promise<Turn> {
return new Promise(resolve =>
this.enqueue(location.actor, t => location.sync(t, this.ref(resolve))));
sync(loc: Ref<any>): Promise<Turn> {
return new Promise(resolve => this.enqueue(loc.actor, t => loc.sync(t, this.ref(resolve))));
}
message(location: Ref<Entity>, assertion: Assertion): void {