We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c59813 commit bb9640bCopy full SHA for bb9640b
source/states/PlayState.hx
@@ -123,14 +123,13 @@ class PlayState extends MusicBeatState
123
@:noCompletion
124
static function set_stageUI(value:String):String
125
{
126
- stageUI = value;
127
- if (stageUI != "normal")
+ uiPrefix = uiPostfix = "";
+ if (value != "normal")
128
129
- uiPrefix = stageUI.split("-pixel")[0].trim();
130
- if (PlayState.isPixelStage) uiPostfix = "-pixel";
+ uiPrefix = value.split("-pixel")[0].trim();
+ if (value.endsWith("-pixel")) uiPostfix = "-pixel";
131
}
132
- else uiPrefix = uiPostfix = "";
133
- return stageUI;
+ return stageUI = value;
134
135
136
0 commit comments