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

View file

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