don't show companion scene after first refresh
This commit is contained in:
parent
2438470088
commit
73e515c236
@ -5,7 +5,6 @@ import {MenuScene, MenuSceneName} from "../Menu/MenuScene";
|
|||||||
import {HelpCameraSettingsScene, HelpCameraSettingsSceneName} from "../Menu/HelpCameraSettingsScene";
|
import {HelpCameraSettingsScene, HelpCameraSettingsSceneName} from "../Menu/HelpCameraSettingsScene";
|
||||||
import {LoginSceneName} from "../Login/LoginScene";
|
import {LoginSceneName} from "../Login/LoginScene";
|
||||||
import {SelectCharacterSceneName} from "../Login/SelectCharacterScene";
|
import {SelectCharacterSceneName} from "../Login/SelectCharacterScene";
|
||||||
import {SelectCompanionSceneName} from "../Login/SelectCompanionScene";
|
|
||||||
import {EnableCameraSceneName} from "../Login/EnableCameraScene";
|
import {EnableCameraSceneName} from "../Login/EnableCameraScene";
|
||||||
import {localUserStore} from "../../Connexion/LocalUserStore";
|
import {localUserStore} from "../../Connexion/LocalUserStore";
|
||||||
|
|
||||||
@ -40,8 +39,6 @@ export class GameManager {
|
|||||||
return LoginSceneName;
|
return LoginSceneName;
|
||||||
} else if (!this.characterLayers) {
|
} else if (!this.characterLayers) {
|
||||||
return SelectCharacterSceneName;
|
return SelectCharacterSceneName;
|
||||||
} else if (!localUserStore.wasCompanionSet()) {
|
|
||||||
return SelectCompanionSceneName;
|
|
||||||
} else {
|
} else {
|
||||||
return EnableCameraSceneName;
|
return EnableCameraSceneName;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user