Fix: idle units not being properly selected after settling a city (#1685)

Closes #1682
This commit is contained in:
lyrjie 2020-01-13 14:29:38 +03:00 committed by Yair Morgenstern
parent 4f0435bdc6
commit 2d0aec5a26

View File

@ -343,6 +343,7 @@ class WorldScreen(val viewingCiv:CivilizationInfo) : CameraStageBaseScreen() {
val nextDueUnit = viewingCiv.getNextDueUnit()
if(nextDueUnit!=null) {
mapHolder.setCenterPosition(nextDueUnit.currentTile.position, false, false)
bottomUnitTable.selectedCity = null
bottomUnitTable.selectedUnit = nextDueUnit
shouldUpdate=true
}