Exploring units are not considered Idle

This commit is contained in:
Yair Morgenstern 2019-11-28 20:26:44 +02:00
parent de85e5bace
commit 008485b38c

View File

@ -170,7 +170,8 @@ class MapUnit {
if (name == Constants.worker && getTile().improvementInProgress != null) return false
if (hasUnique("Can construct roads") && currentTile.improvementInProgress=="Road") 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
}