1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-27 17:33:03 +00:00

Fix a bug where F5 would crash in Week 6.

This commit is contained in:
EliteMasterEric 2023-11-06 17:51:27 -05:00
parent 618231954b
commit 4833c9bd2e

View file

@ -581,6 +581,19 @@ class Conversation extends FlxSpriteGroup implements IDialogueScriptedClass
}
}
/**
* Calls `kill()` on the group's members and then on the group itself.
* You can revive this group later via `revive()` after this.
*/
public override function kill():Void
{
_skipTransformChildren = true;
alive = false;
exists = false;
_skipTransformChildren = false;
if (group != null) group.kill();
}
public override function toString():String
{
return 'Conversation($conversationId)';