fix: 肉鸽通关难度成就解锁判定错误

This commit is contained in:
status102
2025-07-29 22:23:21 +08:00
parent a9b3b6e267
commit 854a0ff2fe

View File

@@ -1030,22 +1030,22 @@ public class RoguelikeSettingsUserControlModel : TaskViewModel
if (pass)
{
if (difficulty > 4)
if (difficulty >= 4)
{
AchievementTrackerHelper.Instance.Unlock(AchievementIds.RoguelikeN04);
}
if (difficulty > 8)
if (difficulty >= 8)
{
AchievementTrackerHelper.Instance.Unlock(AchievementIds.RoguelikeN08);
}
if (difficulty > 12)
if (difficulty >= 12)
{
AchievementTrackerHelper.Instance.Unlock(AchievementIds.RoguelikeN12);
}
if (difficulty > 15)
if (difficulty >= 15)
{
AchievementTrackerHelper.Instance.Unlock(AchievementIds.RoguelikeN15);
}