mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-19 04:10:22 +07:00
Fix rare crash opening overview on turn 0 (#12056)
This commit is contained in:
@ -237,6 +237,7 @@ class ResourcesOverviewTab(
|
||||
row()
|
||||
}
|
||||
|
||||
if (rows == 0) return // can happen when opening overview on turn 0 before founding a city
|
||||
equalizeColumns(fixedContent, this)
|
||||
overviewScreen.resizePage(this) // Without the height is miscalculated - shouldn't be
|
||||
}
|
||||
|
Reference in New Issue
Block a user