mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-05 21:11:35 +07:00
Fix logic in Fog Busting (#9855)
This commit is contained in:
parent
73e06a114f
commit
488ec9f82f
@ -79,7 +79,7 @@ object UnitAutomation {
|
||||
|
||||
// If everything around this unit is visible, we can stop.
|
||||
// Calculations below are quite expensive especially in the late game.
|
||||
if (unit.currentTile.getTilesInDistance(5).any { !it.isVisible(unit.civ) }) {
|
||||
if (unit.currentTile.getTilesInDistance(5).all { it.isVisible(unit.civ) }) {
|
||||
return false
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user