mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 07:16:54 +07:00
TileMapHolder doesn't update using clone because it causes problems when updating the tiles
This commit is contained in:
parent
86464ccdb0
commit
c828b57577
@ -122,7 +122,11 @@ class WorldScreen : CameraStageBaseScreen() {
|
||||
unitActionsTable.update(bottomBar.unitTable.selectedUnit)
|
||||
unitActionsTable.y = bottomBar.height
|
||||
|
||||
tileMapHolder.updateTiles(cloneCivilization)
|
||||
// if we use the clone, then when we update viewable tiles
|
||||
// it doesn't update the explored tiles of the civ... need to think about that harder
|
||||
// it causes a bug when we move a unit to an unexplored tile (for instance cavalry unit which can move far)
|
||||
tileMapHolder.updateTiles(civInfo)
|
||||
|
||||
topBar.update(cloneCivilization)
|
||||
notificationsScroll.update(gameClone.notifications)
|
||||
notificationsScroll.width = stage.width/3
|
||||
|
Loading…
Reference in New Issue
Block a user