Fix sound effects not working

This commit is contained in:
Aaron van Geffen authored and GitHub committed 2024-05-18 13:12:08 +02:00
1 parent 24a24e3f53
commit 4e2f546d14
2 files changed
+3 -1

No files matched your search

+3
View File
@@ -554,6 +554,9 @@ namespace OpenRCT2
preloaderScene->UpdateCaption(STR_CHECKING_OBJECT_FILES);
_objectRepository->LoadOrConstruct(currentLanguage);
preloaderScene->UpdateCaption(STR_LOADING_GENERIC);
Audio::LoadAudioObjects();
if (!gOpenRCT2Headless)
{
preloaderScene->UpdateCaption(STR_CHECKING_ASSET_PACKS);
-1
View File
@@ -93,7 +93,6 @@ namespace OpenRCT2::Audio
}
}
}
LoadAudioObjects();
}
void LoadAudioObjects()