Stop noise when <ESC opcode is executed (fix #244)

This commit is contained in:
biroder
2025-06-14 19:36:52 +03:00
committed by GitHub
parent 2f1159c14f
commit 5f517e6992
+1
View File
@@ -1846,6 +1846,7 @@ impl TextScriptVM {
exec_state = TextScriptExecutionState::Running(state.constants.game.intro_event, 0);
state.textscript_vm.suspend = true;
state.stop_noise();
state.sound_manager.play_song(0, &state.constants, &state.settings, ctx, false)?;
state.reset();