Can enter map editor directly, without loading a game

This commit is contained in:
Yair Morgenstern
2020-04-21 00:35:10 +03:00
parent 227f7327c5
commit 0ed283f5e3

View File

@ -84,6 +84,7 @@ class UncivGame(
// This stuff needs to run on the main thread because it needs the GL context
Gdx.app.postRunnable {
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() }
restoreSize()