File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ class AttractState extends FlxState
5757 new FlxTimer ().start (1.0 , _ -> FlxG .switchState (() -> new GameSelectState ()));
5858 return ;
5959 }
60+ startNextVideo ();
6061
6162
6263
Original file line number Diff line number Diff line change @@ -190,7 +190,14 @@ class GameSelectState extends FlxState
190190 case " DESC" : (g .description != null ) ? g .description : " " ;
191191 case " BOX" : (g .box != null ) ? g .box : " " ;
192192 case " CART" : (g .cartPath != null ) ? g .cartPath : (g .box != null ? g .box : " " );
193- case " PLAYERS" : (Reflect .hasField (g , " players" ) && g .players != null ) ? g .players : " " ;
193+ case " PLAYERS" :
194+ var val = (Reflect .hasField (g , " players" ) && g .players != null ) ? Std .string (g .players ) : " " ;
195+ val = val .trim ();
196+ if (val == " 1" ) return " 1 Player" ;
197+ else if (val == " 2" ) return " 2 Players" ;
198+ else if (val == " 1,2" || val == " 1-2" ) return " 1-2 Players" ;
199+ else if (val != " " ) return val + " Players" ;
200+ else return " " ;
194201 default : " " ;
195202 }
196203 }
You can’t perform that action at this time.
0 commit comments