Fixed playstate not removing the black bars when loading it

This commit is contained in:
Karim Akra
2025-11-18 12:00:11 -07:00
committed by Hundrec
parent dc634fa35c
commit b10ae8dfa5
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -82,6 +82,7 @@ class GitarooPause extends MusicBeatState
{
FlxTransitionableState.skipNextTransIn = false;
FlxTransitionableState.skipNextTransOut = false;
if (funkin.ui.FullScreenScaleMode.instance != null) funkin.ui.FullScreenScaleMode.instance.onMeasurePostAwait();
FlxG.switchState(() -> new PlayState(previousParams));
}
else
@@ -229,6 +229,8 @@ class LoadingState extends MusicBeatSubState
stageDirectory = daStage?._data?.directory ?? "shared";
Paths.setCurrentLevel(stageDirectory);
if (funkin.ui.FullScreenScaleMode.instance != null) funkin.ui.FullScreenScaleMode.instance.onMeasurePostAwait();
var playStateCtor:() -> PlayState = function() {
return new PlayState(params);
};