From 2d3cab82c896b86b1e107b8e1773572ac0fec6d3 Mon Sep 17 00:00:00 2001 From: in1tiate Date: Thu, 22 Jul 2021 12:26:57 -0500 Subject: Fix custom objections not playing sounds --- src/text_file_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/text_file_functions.cpp') diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index fbe8279f..d9b341be 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -506,7 +506,7 @@ QString AOApplication::get_court_sfx(QString p_identifier, QString p_misc) QString AOApplication::get_sfx_suffix(VPath sound_to_check) { return get_real_suffixed_path(sound_to_check, - { "", ".opus", ".ogg", ".mp3", ".wav" }); + {".opus", ".ogg", ".mp3", ".wav" }); } QString AOApplication::get_image_suffix(VPath path_to_check, bool static_image) -- cgit