mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-08 14:57:58 +07:00
Exploring units are not considered Idle
This commit is contained in:
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user