From 2ef34fe6f8b97a17ee0cf5d5dcc8c2ad6118a658 Mon Sep 17 00:00:00 2001 From: biroder <107300789+biroder@users.noreply.github.com> Date: Sat, 12 Oct 2024 20:30:36 +0300 Subject: [PATCH] Add music fade out in the credit script executor --- src/game/scripting/tsc/credit_script.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/scripting/tsc/credit_script.rs b/src/game/scripting/tsc/credit_script.rs index 7729473..2899355 100644 --- a/src/game/scripting/tsc/credit_script.rs +++ b/src/game/scripting/tsc/credit_script.rs @@ -163,7 +163,7 @@ impl CreditScriptVM { state.creditscript_vm.state = CreditScriptExecutionState::Running(cursor.position() as u32); } CreditOpCode::FadeMusic => { - // todo + state.sound_manager.play_song(0, &state.constants, &state.settings, ctx, true)?; state.creditscript_vm.state = CreditScriptExecutionState::Running(cursor.position() as u32); }