From 9944a13c5e9d30f1feeb1fe981e2ced0653fc198 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Tue, 21 Nov 2023 01:00:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E7=94=9F=E7=97=85?= =?UTF-8?q?=E5=90=8E=E4=BB=8D=E7=84=B6=E7=BB=A7=E7=BB=AD=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E5=8F=AF=E8=83=BD=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #138 --- VPet-Simulator.Core/Display/MainLogic.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/VPet-Simulator.Core/Display/MainLogic.cs b/VPet-Simulator.Core/Display/MainLogic.cs index d0128ad..4548577 100644 --- a/VPet-Simulator.Core/Display/MainLogic.cs +++ b/VPet-Simulator.Core/Display/MainLogic.cs @@ -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)