public void DayEndingDismiss() { QuickChangeState(eStates.resetState); ResetState resetState = (ResetState)currentState; resetState.ReIntegrateCompanion(); manager.currentCompanion = null; QuickChangeState(eStates.unavailableState); }
public void EmergencyExit(Exception e) { ModEntry.monitor.Log(e.Message, LogLevel.Error); QuickChangeState(eStates.resetState); ResetState resetState = (ResetState)currentState; resetState.ReIntegrateCompanion(); manager.currentCompanion = null; QuickChangeState(eStates.unavailableState); }