v3.3.0: fixed compass staying visible if vision on exit is lost
This commit is contained in:
@@ -57,9 +57,7 @@ public class Compass extends Image {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!visible) {
|
|
||||||
visible = Dungeon.level.visited[cell] || Dungeon.level.mapped[cell];
|
visible = Dungeon.level.visited[cell] || Dungeon.level.mapped[cell];
|
||||||
}
|
|
||||||
|
|
||||||
if (visible) {
|
if (visible) {
|
||||||
PointF scroll = Camera.main.scroll;
|
PointF scroll = Camera.main.scroll;
|
||||||
|
|||||||
Reference in New Issue
Block a user