Skip to content

Commit

Permalink
you cant just get text from a null flxtext
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanSantiagoYT committed Jun 15, 2024
1 parent 4486f31 commit b2da4f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1955,7 +1955,7 @@ class PlayState extends MusicBeatState
botplayTxt.text = theListBotplay[FlxG.random.int(0, theListBotplay.length - 1)];
}

ogBotTxt = botplayTxt.text;
if (botplayTxt != null) ogBotTxt = botplayTxt.text;

cacheCountdown();
if (ClientPrefs.ratingType != 'Simple') cachePopUpScore();
Expand Down

0 comments on commit b2da4f2

Please sign in to comment.