private void ApplyRequestedControlState() { if (changeStateChore != null) { changeStateChore.Cancel(""); } changeStateChore = null; CurrentState = RequestedState; UpdateState(); kSelectable.RemoveStatusItem(ModAssets.CurtainStatus); Trigger((int)GameHashes.DoorStateChanged, this); }
public void StopDoctorChore() { if (doctorChore != null) { doctorChore.Cancel("StopDoctorChore"); doctorChore = null; } }