Music playing state not changing with WinLevelInstant or Restart Mission #52
Labels
audio
Relates to playing sound effects, music, and movies.
original bug
This was an issue in the original game already.
partially solved
The issue is solved, but not in its entirety.
Describe the issue
When using the
Debug_WinLevelInstant
shortcut (LCtrl+LShift+L), the music is not stopped, and proceeds to continue while in the front end.When pressing Restart Mission from the options menu, the music also does not stop, and continues to play during the the intro video and briefing.
Expected behaviour
Music is only intended to play when in a level, when not showing an objective message (briefing, missing complete/failed). Even though
Debug_WinLevelInstant
is a debug shortcut, the game should still function as expected.The Restart Mission music issue is slightly different, in that you could argue it sounds better to keep the current track playing even during the restarted second briefing. The same goes for music playing when pressing the Replay Objective button.
Steps to reproduce (A)
Debug_WinLevelInstant
shortcut (LCtrl+LShift+L).Steps to reproduce (B)
Additional information
Steps to fix
Possible solution (A)
Simply updating the music playing state in
Lego_EndLevel
(like is present inObjective_Update
) should suffice.Possible solution (B)
To fix the Restart Mission issue, update the music playing state in
Level_Free
.To fix the issue with Replay Objective, the music playing state should be updated when calling
Objective_SetStatus
.The text was updated successfully, but these errors were encountered: