1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

Fix sound effects not working

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

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);

View File

@@ -93,7 +93,6 @@ namespace OpenRCT2::Audio
}
}
}
LoadAudioObjects();
}
void LoadAudioObjects()