Fix logic in Fog Busting (#9855)

This commit is contained in:
itanasi
2023-07-30 07:36:38 -07:00
committed by GitHub
parent 73e06a114f
commit 488ec9f82f

View File

@ -79,7 +79,7 @@ object UnitAutomation {
// If everything around this unit is visible, we can stop. // If everything around this unit is visible, we can stop.
// Calculations below are quite expensive especially in the late game. // 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 return false
} }