mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-18 19:59:47 +07:00
Can enter map editor directly, without loading a game
This commit is contained in:
@ -84,6 +84,7 @@ class UncivGame(
|
|||||||
// This stuff needs to run on the main thread because it needs the GL context
|
// This stuff needs to run on the main thread because it needs the GL context
|
||||||
Gdx.app.postRunnable {
|
Gdx.app.postRunnable {
|
||||||
CameraStageBaseScreen.resetFonts()
|
CameraStageBaseScreen.resetFonts()
|
||||||
|
ImageGetter.ruleset = RulesetCache.getBaseRuleset() // so that we can enter the map editor without having to load a game first
|
||||||
thread(name="Music") { startMusic() }
|
thread(name="Music") { startMusic() }
|
||||||
restoreSize()
|
restoreSize()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user