Fixes #2704
This commit is contained in:
@@ -489,9 +489,11 @@ void evalFunctions()
|
||||
}
|
||||
|
||||
case FUNC_BACKGND_MUSIC:
|
||||
newActiveFunctions |= (1 << FUNCTION_BACKGND_MUSIC);
|
||||
if (!IS_PLAYING(PLAY_INDEX)) {
|
||||
playCustomFunctionFile(cfn, PLAY_INDEX);
|
||||
if (!(newActiveFunctions & (1 << FUNCTION_BACKGND_MUSIC))) {
|
||||
newActiveFunctions |= (1 << FUNCTION_BACKGND_MUSIC);
|
||||
if (!IS_PLAYING(PLAY_INDEX)) {
|
||||
playCustomFunctionFile(cfn, PLAY_INDEX);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user