Remove stale Unity save command surface
This commit is contained in:
parent
6f0a84073d
commit
9ea74974dc
3 changed files with 11 additions and 11 deletions
|
|
@ -211,9 +211,9 @@ public class ActionGameManager : MonoBehaviour
|
|||
Debug.LogWarning("Loadout persistence belongs to the Verse state spine. The Unity client keeps loadouts in memory until Aetheria.State is available as a runtime package.");
|
||||
}
|
||||
|
||||
private void OnApplicationQuit() => SaveState();
|
||||
private void OnApplicationQuit() => WarnRunStatePersistencePending();
|
||||
|
||||
public void SaveState()
|
||||
private void WarnRunStatePersistencePending()
|
||||
{
|
||||
if (CurrentGalaxy != null)
|
||||
Debug.LogWarning("Run persistence belongs to the Verse state spine. Legacy run serialization is disabled.");
|
||||
|
|
@ -625,7 +625,7 @@ public class ActionGameManager : MonoBehaviour
|
|||
ship.ExitWormhole(ZoneRenderer.WormholeInstances.Keys.First(w => w.Target == oldZone.GalaxyZone).Position,
|
||||
Settings.GameplaySettings.WormholeExitVelocity * ItemManager.Random.NextFloat2Direction());
|
||||
CurrentEntity.Zone = Zone;
|
||||
SaveState();
|
||||
WarnRunStatePersistencePending();
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -1081,11 +1081,6 @@ public class ActionGameManager : MonoBehaviour
|
|||
});
|
||||
}
|
||||
|
||||
public void SaveZone(string name)
|
||||
{
|
||||
Debug.LogWarning("Zone persistence belongs to the Verse state spine. Legacy .zone serialization is disabled.");
|
||||
}
|
||||
|
||||
// public void ToggleEditMode()
|
||||
// {
|
||||
// _editMode = !_editMode;
|
||||
|
|
|
|||
Loading…
Reference in a new issue