1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-12-08 05:05:40 +00:00

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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