Rollback on createPromise switched to public

This commit is contained in:
David Négrier 2021-08-16 14:22:01 +02:00
parent ad95fa5e11
commit 8c43c2e6e8

View file

@ -165,7 +165,7 @@ export class GameScene extends DirtyScene {
value: RoomJoinedMessageInterface | PromiseLike<RoomJoinedMessageInterface>
) => void;
// A promise that will resolve when the "create" method is called (signaling loading is ended)
public createPromise: Promise<void>;
private createPromise: Promise<void>;
private createPromiseResolve!: (value?: void | PromiseLike<void>) => void;
private iframeSubscriptionList!: Array<Subscription>;
private peerStoreUnsubscribe!: () => void;