mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-23 03:23:17 -04:00
Unit by default not selected on turn start
This commit is contained in:
parent
b04da39799
commit
1cee3f722e
@ -173,8 +173,8 @@ class WorldScreen(
|
||||
|
||||
val tileToCenterOn: Vector2 =
|
||||
when {
|
||||
viewingCiv.units.getCivUnits().any() -> viewingCiv.units.getCivUnits().first().getTile().position
|
||||
viewingCiv.cities.isNotEmpty() && viewingCiv.getCapital() != null -> viewingCiv.getCapital()!!.location
|
||||
viewingCiv.units.getCivUnits().any() -> viewingCiv.units.getCivUnits().first().getTile().position
|
||||
else -> Vector2.Zero
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user