1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-01-13 07:37:25 +00:00

Merge pull request #439 from FunkinCrew/bugfix/week-6-blueball-camera

Fix camera in game over screen on Week 6
This commit is contained in:
Cameron Taylor 2024-03-30 03:25:08 -04:00 committed by GitHub
commit e03998fd86
2 changed files with 13 additions and 5 deletions

2
assets

@ -1 +1 @@
Subproject commit 3b168f7cac41e1843de9a223453d0ff4c04b0283 Subproject commit 200658724592b298f49b13016f2c706c54ad538f

View file

@ -158,11 +158,19 @@ class VoicesGroup extends SoundGroup
} }
public override function destroy():Void public override function destroy():Void
{
if (playerVoices != null)
{ {
playerVoices.destroy(); playerVoices.destroy();
playerVoices = null; playerVoices = null;
}
if (opponentVoices != null)
{
opponentVoices.destroy(); opponentVoices.destroy();
opponentVoices = null; opponentVoices = null;
}
super.destroy(); super.destroy();
} }
} }