Skip to content

Commit 9bd9490

Browse files
authored
dont desable persistent sounds (#840)
1 parent 1b403b2 commit 9bd9490

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/funkin/backend/utils/FunkinParentDisabler.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class FunkinParentDisabler extends FlxBasic {
3838
for(c in __cameras) c.paused = true;
3939

4040
// sounds
41-
__sounds = [for(s in FlxG.sound.list) if (s.playing) s];
41+
__sounds = [for(s in FlxG.sound.list) if (s.playing && !s.persist) s];
4242
for(s in __sounds) s.pause();
4343
}
4444
}
@@ -71,4 +71,4 @@ class FunkinParentDisabler extends FlxBasic {
7171
for(s in __sounds) s.play();
7272
}
7373
}
74-
}
74+
}

0 commit comments

Comments
 (0)