1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-09-12 05:07:06 +00:00

Merge pull request #181 from FunkinCrew/rewrite/bugfix/alt-animation-fixes

Alt animation fixes
This commit is contained in:
Cameron Taylor 2023-10-10 20:32:58 -04:00 committed by GitHub
commit b01d4ea8f4
2 changed files with 11 additions and 7 deletions

2
assets

@ -1 +1 @@
Subproject commit 4ee0c341fd213017b98314d47d28f08b8e1d4289
Subproject commit 8dfc578a03fb88c6b93777a2518ee9cd2213dadd

View file

@ -649,16 +649,20 @@ class Stage extends FlxSpriteGroup implements IPlayStateScriptedClass
}
boppers = [];
for (sprite in this.group)
if (group != null)
{
if (sprite != null)
for (sprite in this.group)
{
sprite.kill();
sprite.destroy();
remove(sprite);
if (sprite != null)
{
sprite.kill();
sprite.destroy();
remove(sprite);
}
}
group.clear();
}
group.clear();
if (debugIconGroup != null && debugIconGroup.group != null)
{
debugIconGroup.kill();