don't show companion scene after first refresh

This commit is contained in:
Johannes Berthel 2021-04-08 18:42:05 +02:00
parent 2438470088
commit 73e515c236

View File

@ -5,7 +5,6 @@ import {MenuScene, MenuSceneName} from "../Menu/MenuScene";
import {HelpCameraSettingsScene, HelpCameraSettingsSceneName} from "../Menu/HelpCameraSettingsScene";
import {LoginSceneName} from "../Login/LoginScene";
import {SelectCharacterSceneName} from "../Login/SelectCharacterScene";
import {SelectCompanionSceneName} from "../Login/SelectCompanionScene";
import {EnableCameraSceneName} from "../Login/EnableCameraScene";
import {localUserStore} from "../../Connexion/LocalUserStore";
@ -40,8 +39,6 @@ export class GameManager {
return LoginSceneName;
} else if (!this.characterLayers) {
return SelectCharacterSceneName;
} else if (!localUserStore.wasCompanionSet()) {
return SelectCompanionSceneName;
} else {
return EnableCameraSceneName;
}