修复睡觉成就触发失败的bug

This commit is contained in:
ZouJin 2023-08-16 14:46:20 +10:00
parent 310ccd12ce
commit b7920bcde3

View File

@ -395,7 +395,7 @@ namespace VPet_Simulator.Windows
stat[(gi64)"stat_study_time"] += (int)Set.LogicInterval;
break;
case Main.WorkingState.Sleep:
stat[(gi64)"stat_work_time"] += (int)Set.LogicInterval;
stat[(gi64)"stat_sleep_time"] += (int)Set.LogicInterval;
break;
}
if (save.Mode == GameSave.ModeType.Ill)