Skip to content

Commit

Permalink
Fix wrong audio being played on custom victory messages
Browse files Browse the repository at this point in the history
  • Loading branch information
crudelios authored Jun 23, 2024
1 parent a58ce6e commit 49edd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/window/mission_end.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ static void play_audio(void)
data.paths.speech[0] = 0;
data.paths.background_music[0] = 0;

custom_message_t *custom_message = custom_messages_get(scenario_intro_message());
custom_message_t *custom_message = custom_messages_get(scenario_victory_message());

const char *audio_file = custom_messages_get_audio(custom_message);
if (audio_file) {
Expand Down

0 comments on commit 49edd77

Please sign in to comment.