fix login screen

This commit is contained in:
_Bastler 2021-10-27 19:23:46 +02:00
parent 07a02d9f16
commit 178ba50876

View File

@ -17,7 +17,7 @@ export class LoginScene extends ResizableScene {
this.name = gameManager.getPlayerName() || "";
}
preload() {}
preload() { }
create() {
loginSceneVisibleIframeStore.set(false);
@ -28,9 +28,10 @@ export class LoginScene extends ResizableScene {
gameManager.currentStartedRoom.authenticationMandatory
) {
connectionManager.loadOpenIDScreen();
loginSceneVisibleIframeStore.set(true);
loginSceneVisibleStore.set(false);
} else {
loginSceneVisibleStore.set(true);
}
loginSceneVisibleStore.set(true);
}
public login(name: string): void {
@ -43,7 +44,7 @@ export class LoginScene extends ResizableScene {
loginSceneVisibleStore.set(false);
}
update(time: number, delta: number): void {}
update(time: number, delta: number): void { }
public onResize(): void {}
public onResize(): void { }
}