mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 23:37:31 +07:00
Fix bug related to resuming games (#7613)
This commit is contained in:
parent
1dc7c6bfa8
commit
6309bbdcb6
@ -212,6 +212,7 @@ class MainMenuScreen: BaseScreen(), RecreateOnResize {
|
||||
val curWorldScreen = game.worldScreen
|
||||
if (curWorldScreen != null) {
|
||||
game.resetToWorldScreen()
|
||||
ImageGetter.ruleset = game.gameInfo!!.ruleSet
|
||||
curWorldScreen.popups.filterIsInstance(WorldScreenMenuPopup::class.java).forEach(Popup::close)
|
||||
} else {
|
||||
QuickSave.autoLoadGame(this)
|
||||
|
Loading…
Reference in New Issue
Block a user