mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-03-13 16:43:57 -04:00
Fix a bug where F5 would crash in Week 6.
This commit is contained in:
parent
618231954b
commit
4833c9bd2e
1 changed files with 13 additions and 0 deletions
|
@ -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