From 3d6bc638a68958aa788debee46257f921f4a2941 Mon Sep 17 00:00:00 2001 From: philmoz Date: Mon, 15 May 2023 21:25:18 +1000 Subject: [PATCH] fix: Remove audio queue state check for SF 'Play Sound' action (#3567) Was preventing sounds running from startup --- radio/src/functions.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/radio/src/functions.cpp b/radio/src/functions.cpp index 4c68bf84b3f..b717fbd2188 100644 --- a/radio/src/functions.cpp +++ b/radio/src/functions.cpp @@ -297,9 +297,7 @@ void evalFunctions(const CustomFunctionData * functions, CustomFunctionsContext if (isRepeatDelayElapsed(functions, functionsContext, i)) { if (!IS_PLAYING(PLAY_INDEX)) { if (CFN_FUNC(cfn) == FUNC_PLAY_SOUND) { - if (audioQueue.isEmpty()) { - AUDIO_PLAY(AU_SPECIAL_SOUND_FIRST + CFN_PARAM(cfn)); - } + AUDIO_PLAY(AU_SPECIAL_SOUND_FIRST + CFN_PARAM(cfn)); } else if (CFN_FUNC(cfn) == FUNC_PLAY_VALUE) { PLAY_VALUE(CFN_PARAM(cfn), PLAY_INDEX); }