diff options
author | syeyoung <cyoung06@naver.com> | 2023-02-28 12:58:12 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2023-02-28 12:58:12 +0900 |
commit | de64d95fcb88ad71f43a3508728aed7d34334ffc (patch) | |
tree | fad6fbf1b0113b1edb7612706466f4f800889c19 | |
parent | 9fd7b0965afcb7490c20d8ea71b7dcbdcbbfdb4f (diff) | |
download | Skyblock-Dungeons-Guide-de64d95fcb88ad71f43a3508728aed7d34334ffc.tar.gz Skyblock-Dungeons-Guide-de64d95fcb88ad71f43a3508728aed7d34334ffc.tar.bz2 Skyblock-Dungeons-Guide-de64d95fcb88ad71f43a3508728aed7d34334ffc.zip |
- Fix score calculation failing with failed puzzle
Signed-off-by: syeyoung <cyoung06@naver.com>
-rw-r--r-- | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureDungeonScore.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureDungeonScore.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureDungeonScore.java index 7bfcd76e..f6f5121b 100644 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureDungeonScore.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureDungeonScore.java @@ -217,7 +217,7 @@ public class FeatureDungeonScore extends TextHUDFeature { // bossroomIncomplete = false; // if (dungeonRoom.getColor() == 62 && dungeonRoom.getCurrentState() != DungeonRoom.RoomState.DISCOVERED) // traproomIncomplete = false; - if (dungeonRoom.getCurrentState() != DungeonRoom.RoomState.DISCOVERED) + if (dungeonRoom.getCurrentState() != DungeonRoom.RoomState.DISCOVERED && dungeonRoom.getCurrentState() != DungeonRoom.RoomState.FAILED) totalCompRooms += dungeonRoom.getUnitPoints().size(); if (dungeonRoom.getColor() == 66 && (dungeonRoom.getCurrentState() == DungeonRoom.RoomState.DISCOVERED || dungeonRoom.getCurrentState() == DungeonRoom.RoomState.FAILED)) // INCOMPLETE PUZZLE ON MAP incompletePuzzles++; |