mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-08-20 07:25:59 +00:00
Fix a bug where F5 would crash in Week 6.
This commit is contained in:
parent
618231954b
commit
4833c9bd2e
|
@ -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)';
|
||||
|
|
Loading…
Reference in a new issue