mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 06:16:37 -04:00
Exploring units are not considered Idle
This commit is contained in:
parent
de85e5bace
commit
008485b38c
@ -170,7 +170,8 @@ class MapUnit {
|
|||||||
if (name == Constants.worker && getTile().improvementInProgress != null) return false
|
if (name == Constants.worker && getTile().improvementInProgress != null) return false
|
||||||
if (hasUnique("Can construct roads") && currentTile.improvementInProgress=="Road") return false
|
if (hasUnique("Can construct roads") && currentTile.improvementInProgress=="Road") return false
|
||||||
if (isFortified()) return false
|
if (isFortified()) return false
|
||||||
if (action==Constants.unitActionSleep || action == Constants.unitActionAutomation) return false
|
if (action==Constants.unitActionExplore || action==Constants.unitActionSleep
|
||||||
|
|| action == Constants.unitActionAutomation) return false
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user