From 49edd77c08f6dcb00a4c56f5476c117d5e1f4762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Cadete?= Date: Sun, 23 Jun 2024 17:56:37 +0100 Subject: [PATCH] Fix wrong audio being played on custom victory messages --- src/window/mission_end.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window/mission_end.c b/src/window/mission_end.c index b770fc47de..28de67cf06 100644 --- a/src/window/mission_end.c +++ b/src/window/mission_end.c @@ -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) {