1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-21 13:12:45 +00:00

Add music fade out in the credit script executor

This commit is contained in:
biroder 2024-10-12 20:30:36 +03:00 committed by GitHub
parent 5a1bacdba6
commit 2ef34fe6f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}