mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-05 21:11:35 +07:00
Images are restored to ruleset correctly when resuming open game screen
This commit is contained in:
parent
29e6b4a720
commit
b71b9db197
@ -245,7 +245,6 @@ open class UncivGame(val isConsoleMode: Boolean = false) : Game(), PlatformSpeci
|
||||
}
|
||||
val fullModList = newGameInfo.gameParameters.getModsAndBaseRuleset()
|
||||
musicController.setModList(fullModList)
|
||||
settings.tileSet
|
||||
}
|
||||
|
||||
/** Re-creates the current [worldScreen], if there is any. */
|
||||
|
@ -287,7 +287,7 @@ class MainMenuScreen: BaseScreen(), RecreateOnResize {
|
||||
} else {
|
||||
GUI.resetToWorldScreen()
|
||||
GUI.getWorldScreen().popups.filterIsInstance<WorldScreenMenuPopup>().forEach(Popup::close)
|
||||
ImageGetter.ruleset = game.gameInfo!!.ruleset
|
||||
ImageGetter.setNewRuleset(game.gameInfo!!.ruleset)
|
||||
}
|
||||
} else {
|
||||
QuickSave.autoLoadGame(this)
|
||||
|
Loading…
Reference in New Issue
Block a user