fix login screen
This commit is contained in:
parent
07a02d9f16
commit
178ba50876
@ -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 { }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user