We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 221debd commit 73264a2Copy full SHA for 73264a2
src/main/kotlin/gg/skytils/skytilsmod/features/impl/dungeons/catlas/handlers/MapUpdater.kt
@@ -75,6 +75,9 @@ object MapUpdater {
75
76
if (mapTile.state.ordinal < room.state.ordinal) {
77
room.state = mapTile.state
78
+ if (room is Room && room.state == RoomState.GREEN) {
79
+ room.uniqueRoom?.foundSecrets = room.uniqueRoom?.foundSecrets?.coerceAtLeast(room.data.secrets)
80
+ }
81
}
82
83
if (mapTile is Door && room is Door) {
0 commit comments