Skip to content

Commit

Permalink
meh
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Sep 3, 2023
1 parent 80b509f commit b9bf925
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/meta/state/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -4825,7 +4825,7 @@ class PlayState extends MusicBeatState
CustomFadeTransition.nextCamera = null;
}

new FlxTimer().start(1, function(tmr:FlxTimer) {
new FlxTimer().start(0.5, function(tmr:FlxTimer) {
persistentUpdate = true;
openSubState(new ResultsSubState(sicks, goods, bads, shits, Std.int(campaignScore), Std.int(campaignMisses),
Highscore.floorDecimal(ratingPercent * 100, 2), ratingName, ratingFC));
Expand Down Expand Up @@ -4889,7 +4889,7 @@ class PlayState extends MusicBeatState
CustomFadeTransition.nextCamera = null;
}

new FlxTimer().start(1, function(tmr:FlxTimer) {
new FlxTimer().start(0.5, function(tmr:FlxTimer) {
persistentUpdate = true;
openSubState(new ResultsSubState(sicks, goods, bads, shits, songScore, songMisses,
Highscore.floorDecimal(ratingPercent * 100, 2), ratingName, ratingFC));
Expand Down
3 changes: 2 additions & 1 deletion source/meta/substate/ResultsSubState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import flixel.util.FlxTimer;
import meta.*;
import meta.state.*;
import meta.state.PlayState;

import meta.data.*;

class ResultsSubState extends MusicBeatSubstate
Expand Down Expand Up @@ -81,6 +80,8 @@ class ResultsSubState extends MusicBeatSubstate
resultsTxt.setFormat("VCR OSD Mono", 45, FlxColor.WHITE, CENTER, FlxTextBorderStyle.OUTLINE, FlxColor.BLACK);
resultsTxt.screenCenter(XY);
resultsTxt.updateHitbox();
resultsTxt.x = titleTxt.x;
resultsTxt.y = titleTxt.y;
add(resultsTxt);

if (ClientPrefs.scoreTxtType != 'Simple')
Expand Down

0 comments on commit b9bf925

Please sign in to comment.