diff --git a/source/PlayState.hx b/source/PlayState.hx index 3c06e7f..8651328 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -1859,9 +1859,16 @@ class PlayState extends MusicBeatState var seperatedScore:Array = []; - seperatedScore.push(Math.floor(combo / 100)); - seperatedScore.push(Math.floor((combo - (seperatedScore[0] * 100)) / 10)); - seperatedScore.push(combo % 10); + var comboSplit:Array = (combo + "").split(''); + + if (comboSplit.length == 2) + seperatedScore.push(0); // make sure theres a 0 in front or it looks weird lol! + + for(i in 0...comboSplit.length) + { + var str:String = comboSplit[i]; + seperatedScore.push(Std.parseInt(str)); + } var daLoop:Int = 0; for (i in seperatedScore)