1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-01-12 23:27:35 +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

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