private void StorageSetup() { if (ModSet == null) { ModSet = new ModulatorSettings(Modulator); } if (ModState == null) { ModState = new ModulatorState(Modulator); } ModState.StorageInit(); ModSet.LoadSettings(); ModState.LoadState(); }
private void StorageSetup() { if (ModSet == null) { ModSet = new ModulatorSettings(Modulator); } if (ModState == null) { ModState = new ModulatorState(Modulator); } ModState.StorageInit(); ModSet.LoadSettings(); ModState.LoadState(); if (MyAPIGateway.Multiplayer.IsServer) { ModState.State.Backup = false; ModState.State.Online = false; ModState.State.Link = false; } }