mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
parent
c259f4e9cb
commit
9944a13c5e
@ -283,13 +283,13 @@ namespace VPet_Simulator.Core
|
|||||||
playSwitchAnimat(Core.Save.Mode, newmod);
|
playSwitchAnimat(Core.Save.Mode, newmod);
|
||||||
|
|
||||||
Core.Save.Mode = newmod;
|
Core.Save.Mode = newmod;
|
||||||
|
}
|
||||||
//看情况播放停止工作动画
|
//看情况播放停止工作动画
|
||||||
if (newmod == GameSave.ModeType.Ill && State == WorkingState.Work)
|
if (Core.Save.Mode == GameSave.ModeType.Ill && State == WorkingState.Work)
|
||||||
{
|
{
|
||||||
WorkTimer.Stop();
|
WorkTimer.Stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
private void playSwitchAnimat(GameSave.ModeType before, GameSave.ModeType after)
|
private void playSwitchAnimat(GameSave.ModeType before, GameSave.ModeType after)
|
||||||
{
|
{
|
||||||
if (!(DisplayType.Type == GraphType.Default || DisplayType.Type == GraphType.Switch_Down || DisplayType.Type == GraphType.Switch_Up))
|
if (!(DisplayType.Type == GraphType.Default || DisplayType.Type == GraphType.Switch_Down || DisplayType.Type == GraphType.Switch_Up))
|
||||||
|
Loading…
Reference in New Issue
Block a user