Skip to content

Commit d51cd57

Browse files
committed
Update PlayState.hx
1 parent 99bf708 commit d51cd57

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

source/states/PlayState.hx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ class PlayState extends MusicBeatState
182182
public static var uiPrefix:String = "";
183183
public static var uiPostfix:String = "";
184184
public static var isPixelStage(get, never):Bool;
185+
var raveLight:FlxSprite;
186+
var raveLightsColors:Array<Int>;
187+
var ravemode:Bool;
185188

186189
@:noCompletion
187190
static function set_stageUI(value:String):String
@@ -4805,11 +4808,7 @@ class PlayState extends MusicBeatState
48054808
case 'white':
48064809
lyrics.color = FlxColor.WHITE;
48074810
default:
4808-
if (color.contains('#')) {
4809-
// Ill deal with
4810-
} else if (color.contains('0x')) {
4811-
// These later
4812-
}
4811+
lyrics.color = FlxColor.fromString(color);
48134812
}
48144813
}
48154814
else lyrics.color = FlxColor.WHITE;

0 commit comments

Comments
 (0)