v3.3.0: fixed compass staying visible if vision on exit is lost

This commit is contained in:
Evan Debenham
2025-11-11 12:56:54 -05:00
parent ba95f11c56
commit 34ad66cf75

View File

@@ -57,9 +57,7 @@ public class Compass extends Image {
return;
}
if (!visible) {
visible = Dungeon.level.visited[cell] || Dungeon.level.mapped[cell];
}
visible = Dungeon.level.visited[cell] || Dungeon.level.mapped[cell];
if (visible) {
PointF scroll = Camera.main.scroll;