mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 07:17:50 +07:00
TileMapHolder doesn't update using clone because it causes problems when updating the tiles
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user