1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 00:05:17 +03:00
This commit is contained in:
Bertrand Songis 2015-08-14 11:45:09 +02:00
parent 9303361d6b
commit 89c27cfcca

View file

@ -489,9 +489,11 @@ void evalFunctions()
} }
case FUNC_BACKGND_MUSIC: case FUNC_BACKGND_MUSIC:
newActiveFunctions |= (1 << FUNCTION_BACKGND_MUSIC); if (!(newActiveFunctions & (1 << FUNCTION_BACKGND_MUSIC))) {
if (!IS_PLAYING(PLAY_INDEX)) { newActiveFunctions |= (1 << FUNCTION_BACKGND_MUSIC);
playCustomFunctionFile(cfn, PLAY_INDEX); if (!IS_PLAYING(PLAY_INDEX)) {
playCustomFunctionFile(cfn, PLAY_INDEX);
}
} }
break; break;