This repository was archived by the owner on Aug 29, 2022. It is now read-only.
File tree 1 file changed +14
-5
lines changed
1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -2462,16 +2462,25 @@ class PlayState extends MusicBeatState
2462
2462
2463
2463
super .update (elapsed );
2464
2464
2465
-
2466
- if (ratingName == ' ?' ) {
2467
- scoreTxt .text = ' Score: ' + songScore + ' | Misses: ' + songMisses + ' | Average: ?' + ' | Rating: ' + ratingName ;
2465
+ if (ClientPrefs .scoreposition == " New" ) {
2466
+ if (ratingName == ' ?' ) {
2467
+ scoreTxt .text = ' Score: ' + songScore + ' \n Misses: ' + songMisses + ' \n Average: ?' + ' \n Rating: ' + ratingName ;
2468
+ } else {
2469
+ scoreTxt .text = ' Score: ' + songScore + ' \n Misses: ' + songMisses + ' \n Average: ' + Math .round (averageMs ) + ' ms' + ' \n Rating: ' + ratingName + ' (' + Highscore .floorDecimal (ratingPercent * 100 , 2 ) + ' %)' + ' - ' + ratingFC ;// peeps wanted no integer rating
2470
+ }
2468
2471
} else {
2469
- scoreTxt .text = ' Score: ' + songScore + ' | Misses: ' + songMisses + ' | Average: ' + Math .round (averageMs ) + ' ms' + ' | Rating: ' + ratingName + ' (' + Highscore .floorDecimal (ratingPercent * 100 , 2 ) + ' %)' + ' - ' + ratingFC ;// peeps wanted no integer rating
2472
+ if (ratingName == ' ?' ) {
2473
+ scoreTxt .text = ' Score: ' + songScore + ' | Misses: ' + songMisses + ' | Average: ?' + ' | Rating: ' + ratingName ;
2474
+ } else {
2475
+ scoreTxt .text = ' Score: ' + songScore + ' | Misses: ' + songMisses + ' | Average: ' + Math .round (averageMs ) + ' ms' + ' | Rating: ' + ratingName + ' (' + Highscore .floorDecimal (ratingPercent * 100 , 2 ) + ' %)' + ' - ' + ratingFC ;// peeps wanted no integer rating
2476
+ }
2470
2477
}
2471
2478
2479
+ /*
2472
2480
if (ClientPrefs.scoreposition == "New") {
2473
- scoreTxt .text = scoreTxt .text .replace (' | ' , ' \n ' );
2481
+ scoreTxt.text = scoreTxt.text.replace(' | ', '\n'); // REPLACE IS STUPID. IT EATS LITERALLY 9999999999999999999999999999999999999999999999999 RAM
2474
2482
}
2483
+ */
2475
2484
2476
2485
if (botplayTxt .visible ) {
2477
2486
botplaySine + = 180 * elapsed ;
You can’t perform that action at this time.
0 commit comments