From 0ed283f5e388e973f380ca682bfedb95b10eb10b Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Tue, 21 Apr 2020 00:35:10 +0300 Subject: [PATCH] Can enter map editor directly, without loading a game --- core/src/com/unciv/UncivGame.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/com/unciv/UncivGame.kt b/core/src/com/unciv/UncivGame.kt index 8878aa1698..494988b4b1 100644 --- a/core/src/com/unciv/UncivGame.kt +++ b/core/src/com/unciv/UncivGame.kt @@ -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()