CoolUtil gets used more

This commit is contained in:
Lucky56
2021-06-17 06:00:18 +02:00
parent 19134e6694
commit ceac1c6129
5 changed files with 8 additions and 24 deletions

View File

@ -244,15 +244,7 @@ class FreeplayState extends MusicBeatState
intendedScore = Highscore.getScore(songHighscore, curDifficulty);
#end
switch (curDifficulty)
{
case 0:
diffText.text = "EASY";
case 1:
diffText.text = 'NORMAL';
case 2:
diffText.text = "HARD";
}
diffText.text = CoolUtil.difficultyFromInt(curDifficulty).toUpperCase();
}
function changeSelection(change:Int = 0)