We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90e0e56 commit 3469524Copy full SHA for 3469524
source/funkin/backend/MusicBeatState.hx
@@ -275,6 +275,12 @@ class MusicBeatState extends FlxState implements IBeatCancellableReceiver
275
if (!e.cancelled)
276
super.openSubState(e.substate is FlxSubState ? cast e.substate : subState);
277
}
278
+
279
+ public override function closeSubState() {
280
+ var e = event("onCloseSubState", EventManager.get(CancellableEvent).recycle());
281
+ if (!e.cancelled)
282
+ super.closeSubState();
283
+ }
284
285
public override function onResize(w:Int, h:Int) {
286
super.onResize(w, h);
0 commit comments