mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-02-19 13:14:55 -05:00
Fix issue causing crash on F5
This commit is contained in:
parent
697be2c88c
commit
5ae2bc814b
1 changed files with 10 additions and 6 deletions
|
@ -649,6 +649,8 @@ class Stage extends FlxSpriteGroup implements IPlayStateScriptedClass
|
||||||
}
|
}
|
||||||
boppers = [];
|
boppers = [];
|
||||||
|
|
||||||
|
if (group != null)
|
||||||
|
{
|
||||||
for (sprite in this.group)
|
for (sprite in this.group)
|
||||||
{
|
{
|
||||||
if (sprite != null)
|
if (sprite != null)
|
||||||
|
@ -659,6 +661,8 @@ class Stage extends FlxSpriteGroup implements IPlayStateScriptedClass
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
group.clear();
|
group.clear();
|
||||||
|
}
|
||||||
|
|
||||||
if (debugIconGroup != null && debugIconGroup.group != null)
|
if (debugIconGroup != null && debugIconGroup.group != null)
|
||||||
{
|
{
|
||||||
debugIconGroup.kill();
|
debugIconGroup.kill();
|
||||||
|
|
Loading…
Reference in a new issue