Disable legacy local save authority
This commit is contained in:
parent
51dee5d5f3
commit
b539b9b6e8
107 changed files with 35 additions and 68057 deletions
|
|
@ -93,19 +93,7 @@ public class MainMenu : MonoBehaviour
|
|||
_nextMenu.panel.Title.text = TitleSubtitle("aetheria", "terminus");
|
||||
if (!InGame)
|
||||
{
|
||||
if(ActionGameManager.PlayerSettings.SavedRun != null)
|
||||
_nextMenu.panel.AddButton("Continue",
|
||||
() =>
|
||||
{
|
||||
ActionGameManager.IsTutorial = ActionGameManager.PlayerSettings.SavedRun.IsTutorial;
|
||||
ActionGameManager.CurrentGalaxy = new Galaxy(
|
||||
ActionGameManager.LegacyCultCache,
|
||||
ActionGameManager.PlayerSettings.SavedRun,
|
||||
Debug.Log);
|
||||
SceneManager.LoadScene("ARPG");
|
||||
});
|
||||
else
|
||||
_nextMenu.panel.AddButton("Continue", null);
|
||||
_nextMenu.panel.AddButton("Continue", null);
|
||||
}
|
||||
_nextMenu.panel.AddButton("New Game",
|
||||
() =>
|
||||
|
|
@ -135,7 +123,6 @@ public class MainMenu : MonoBehaviour
|
|||
setState);
|
||||
Observable.NextFrame().Subscribe(_ =>
|
||||
{
|
||||
ActionGameManager.PlayerSettings.SavedRun = null;
|
||||
ActionGameManager.CurrentGalaxy = sector;
|
||||
SceneManager.LoadScene("ARPG");
|
||||
});
|
||||
|
|
@ -164,7 +151,6 @@ public class MainMenu : MonoBehaviour
|
|||
setState);
|
||||
Observable.NextFrame().Subscribe(_ =>
|
||||
{
|
||||
ActionGameManager.PlayerSettings.SavedRun = null;
|
||||
ActionGameManager.CurrentGalaxy = sector;
|
||||
SceneManager.LoadScene("ARPG");
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue