hopefully final testing fix for audio
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good

This commit is contained in:
austin 2024-08-01 17:43:12 -04:00
parent 73942b1fa0
commit af6bdc6b43

View File

@ -440,7 +440,7 @@ public class Main {
} }
} }
//shut down audio engine //shut down audio engine
if(!Globals.HEADLESS && Globals.RUN_CLIENT && Globals.RUN_AUDIO){ if(!Globals.HEADLESS && Globals.RUN_CLIENT && Globals.RUN_AUDIO && Globals.audioEngine != null && Globals.audioEngine.initialized()){
Globals.audioEngine.shutdown(); Globals.audioEngine.shutdown();
} }
//if netmonitor is running, close //if netmonitor is running, close