mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-20 19:56:51 +01:00
Fixed textures not being built on new game from new game screen
This commit is contained in:
parent
ba9da43396
commit
09dcf67353
|
|
@ -218,6 +218,7 @@ open class UncivGame(val isConsoleMode: Boolean = false) : Game(), PlatformSpeci
|
|||
for (screen in screenStack) screen.dispose()
|
||||
screenStack.clear()
|
||||
|
||||
ImageGetter.setNewRuleset(newGameInfo.ruleset)
|
||||
worldScreen = null // This allows the GC to collect our old WorldScreen, otherwise we keep two WorldScreens in memory.
|
||||
Gdx.input.inputProcessor = null // Avoid ANRs while loading
|
||||
val newWorldScreen = WorldScreen(newGameInfo, autoPlay, newGameInfo.getPlayerToViewAs(), worldScreenRestoreState)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user