Skip to content

Commit

Permalink
change dlman startup load order
Browse files Browse the repository at this point in the history
🤔
  • Loading branch information
poco0317 committed Nov 19, 2022
1 parent 82c949d commit acb3da8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Etterna/Globals/StepMania.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1112,6 +1112,7 @@ sm_main(int argc, char* argv[])
SONGINDEX->FinishTransaction();
CRYPTMAN = new CryptManager; // need to do this before ProfileMan
SCOREMAN = new ScoreManager;
DLMAN = std::make_shared<DownloadManager>();
REPLAYS = std::make_shared<ReplayManager>();
PROFILEMAN = new ProfileManager;
PROFILEMAN->Init(pLoadingWindow); // must load after SONGMAN
Expand All @@ -1122,8 +1123,6 @@ sm_main(int argc, char* argv[])

FILTERMAN = new FilterManager;

DLMAN = std::make_shared<DownloadManager>();

/* If the user has tried to quit during the loading, do it before creating
* the main window. This prevents going to full screen just to quit. */
if (GameLoop::hasUserQuit()) {
Expand Down

0 comments on commit acb3da8

Please sign in to comment.