dont desable persistent sounds (#840)

This commit is contained in:
rich
2025-11-30 06:07:21 +07:00
committed by GitHub
parent 1b403b2ab2
commit 9bd9490c49
@@ -38,7 +38,7 @@ class FunkinParentDisabler extends FlxBasic {
for(c in __cameras) c.paused = true;
// sounds
__sounds = [for(s in FlxG.sound.list) if (s.playing) s];
__sounds = [for(s in FlxG.sound.list) if (s.playing && !s.persist) s];
for(s in __sounds) s.pause();
}
}
@@ -71,4 +71,4 @@ class FunkinParentDisabler extends FlxBasic {
for(s in __sounds) s.play();
}
}
}
}