diff options
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index efb14deb..5f508c52 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -734,6 +734,9 @@ int main(int argc, char *argv[]) unsigned int oldstate = !state; // We start with a status change. + // Needs to be created in main, as the updater uses it + textColour = new Colour(); + Game *game = NULL; Window *currentDialog = NULL; Image *login_wallpaper = NULL; @@ -794,9 +797,6 @@ int main(int argc, char *argv[]) if (!login_wallpaper) logger->log(_("Couldn't load %s as wallpaper"), wallpaperName.c_str()); - // Needs to be created in main, as the updater uses it - textColour = new Colour(); - while (state != EXIT_STATE) { // Handle SDL events |