mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-20 19:56:51 +01:00
Fix rare crash opening overview on turn 0 (#12056)
This commit is contained in:
parent
76671ff6b6
commit
d37f30a67c
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user