File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,6 +157,8 @@ void GameSession::switchToWorld(const std::string& worldFile)
157157 auto strippedWorldName = Utils::uppered (Utils::stripExtension (worldFile));
158158 engine->getHud ().getLoadingScreen ().reset (" LOADING_" + strippedWorldName + " .TGA" );
159159 engine->getHud ().getLoadingScreen ().setHidden (false );
160+
161+ // Play loading screen music
160162 engine->getAudioWorld ().playMusicTheme (" SYS_Loading" );
161163
162164 auto & session = engine->getSession ();
Original file line number Diff line number Diff line change @@ -233,6 +233,9 @@ std::string Engine::SavegameManager::loadSaveGameSlot(int index)
233233 engine->resetSession ();
234234 engine->getHud ().getLoadingScreen ().reset ();
235235 engine->getHud ().getLoadingScreen ().setHidden (false );
236+
237+ // Play loading screen music
238+ engine->getAudioWorld ().playMusicTheme (" SYS_Loading" );
236239 };
237240 engine->getJobManager ().executeInMainThread <void >(resetSession).wait ();
238241
You can’t perform that action at this time.
0 commit comments