mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 22:06:05 -04:00
Minimap hotseat fix (#8894)
This commit is contained in:
parent
a2da1ff7ee
commit
0a9814e3b8
@ -382,6 +382,8 @@ class WorldScreen(
|
||||
if(uiEnabled){
|
||||
displayTutorialsOnUpdate()
|
||||
|
||||
updateSelectedCiv()
|
||||
|
||||
if (fogOfWar) minimapWrapper.update(selectedCiv)
|
||||
else minimapWrapper.update(viewingCiv)
|
||||
|
||||
@ -391,8 +393,6 @@ class WorldScreen(
|
||||
bottomTileInfoTable.y = if (game.settings.showMinimap) minimapWrapper.height else 0f
|
||||
battleTable.update()
|
||||
|
||||
updateSelectedCiv()
|
||||
|
||||
displayTutorialTaskOnUpdate()
|
||||
|
||||
unitActionsTable.update(bottomUnitTable.selectedUnit)
|
||||
@ -564,7 +564,7 @@ class WorldScreen(
|
||||
when {
|
||||
bottomUnitTable.selectedUnit != null -> selectedCiv = bottomUnitTable.selectedUnit!!.civ
|
||||
bottomUnitTable.selectedCity != null -> selectedCiv = bottomUnitTable.selectedCity!!.civ
|
||||
else -> viewingCiv
|
||||
else -> selectedCiv = viewingCiv
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user