summaryrefslogtreecommitdiff
path: root/src/unittests/resources/dye/dyepalette.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/resources/dye/dyepalette.cc')
-rw-r--r--src/unittests/resources/dye/dyepalette.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unittests/resources/dye/dyepalette.cc b/src/unittests/resources/dye/dyepalette.cc
index 54d947358..7c49f02c1 100644
--- a/src/unittests/resources/dye/dyepalette.cc
+++ b/src/unittests/resources/dye/dyepalette.cc
@@ -77,9 +77,6 @@ TEST_CASE("DyePalette tests", "")
graphicsManager.createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE);
#endif // USE_SDL2
- theme = new Theme;
- Theme::selectSkin();
-
Dirs::initRootDir();
Dirs::initHomeDir();
@@ -87,6 +84,9 @@ TEST_CASE("DyePalette tests", "")
setConfigDefaults2(config);
setBrandingDefaults(branding);
+ theme = new Theme;
+ Theme::selectSkin();
+
ActorSprite::load();
gui = new Gui();
gui->postInit(mainGraphics);