修复 生病后仍然继续工作可能性

Fix #138
This commit is contained in:
ZouJin 2023-11-21 01:00:26 +08:00
parent c259f4e9cb
commit 9944a13c5e

View File

@ -283,11 +283,11 @@ namespace VPet_Simulator.Core
playSwitchAnimat(Core.Save.Mode, newmod);
Core.Save.Mode = newmod;
//看情况播放停止工作动画
if (newmod == GameSave.ModeType.Ill && State == WorkingState.Work)
{
WorkTimer.Stop();
}
}
//看情况播放停止工作动画
if (Core.Save.Mode == GameSave.ModeType.Ill && State == WorkingState.Work)
{
WorkTimer.Stop();
}
}
private void playSwitchAnimat(GameSave.ModeType before, GameSave.ModeType after)