Fixed selected civ update (#8974)

* Fixed selected civ update

* Fixed spaces
This commit is contained in:
Gualdimar 2023-03-21 14:06:52 +02:00 committed by GitHub
parent dabd26ac0d
commit 934bf33a70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -323,15 +323,17 @@ class WorldScreen(
if(uiEnabled){
displayTutorialsOnUpdate()
bottomUnitTable.update()
updateSelectedCiv()
if (fogOfWar) minimapWrapper.update(selectedCiv)
else minimapWrapper.update(viewingCiv)
bottomUnitTable.update()
bottomTileInfoTable.updateTileTable(mapHolder.selectedTile)
bottomTileInfoTable.x = stage.width - bottomTileInfoTable.width
bottomTileInfoTable.y = if (game.settings.showMinimap) minimapWrapper.height else 0f
battleTable.update()
displayTutorialTaskOnUpdate()