From c99ed7f4b0d1628a1e0b227f17db1e91cb3f4edc Mon Sep 17 00:00:00 2001 From: glowsoony <84847356+glowsoony@users.noreply.github.com> Date: Fri, 20 Sep 2024 13:27:29 -0400 Subject: [PATCH] Fixes Inst/Voices Loading For Some Reason Bug causes freakyMenu to play because it couldn't find inst or voices --- source/states/LoadingState.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/states/LoadingState.hx b/source/states/LoadingState.hx index 21d906d0e27..86c9e7cda86 100644 --- a/source/states/LoadingState.hx +++ b/source/states/LoadingState.hx @@ -618,7 +618,7 @@ class LoadingState extends MusicBeatState { if (#if sys FileSystem.exists(file) || #end OpenFlAssets.exists(file, SOUND)) { - var sound:Sound = OpenFlAssets.getSound(file, false); + var sound:Sound = #if sys Sound.fromFile(file) #else OpenFlAssets.getSound(file, false) #end; mutex.acquire(); Paths.currentTrackedSounds.set(file, sound); mutex.release(); @@ -673,4 +673,4 @@ class LoadingState extends MusicBeatState return null; } -} \ No newline at end of file +}