From 1a23ed893b706475b307324873c651284603e920 Mon Sep 17 00:00:00 2001 From: Yoshubs <37424048+Yoshubs@users.noreply.github.com> Date: Thu, 7 Oct 2021 16:37:57 -0400 Subject: [PATCH] lmao fix --- source/Main.hx | 2 +- source/gameObjects/userInterface/ClassHUD.hx | 8 +++++--- source/meta/state/PlayState.hx | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/source/Main.hx b/source/Main.hx index 59f52a1e1..6cbabacab 100644 --- a/source/Main.hx +++ b/source/Main.hx @@ -68,7 +68,7 @@ class Main extends Sprite public static var mainClassState:Class = Init; // Determine the main class state of the game public static var framerate:Int = 120; // How many frames per second the game should run at. - public static var gameVersion:String = '0.2.4.1'; + public static var gameVersion:String = '0.2.4.2'; var zoom:Float = -1; // If -1, zoom is automatically calculated to fit the window dimensions. var skipSplash:Bool = true; // Whether to skip the flixel splash screen that appears in release mode. diff --git a/source/gameObjects/userInterface/ClassHUD.hx b/source/gameObjects/userInterface/ClassHUD.hx index b64a00377..d1b1d0513 100644 --- a/source/gameObjects/userInterface/ClassHUD.hx +++ b/source/gameObjects/userInterface/ClassHUD.hx @@ -125,6 +125,8 @@ class ClassHUD extends FlxTypedGroup iconP2.animation.curAnim.curFrame = 0; } + private final divider:String = ' - '; + public function updateScoreText() { var importSongScore = PlayState.songScore; @@ -135,9 +137,9 @@ class ClassHUD extends FlxTypedGroup var displayAccuracy:Bool = Init.trueSettings.get('Display Accuracy'); if (displayAccuracy) { - scoreBar.text += ' // Accuracy: ' + Std.string(Math.floor(Timings.getAccuracy() * 100) / 100) + '%' + Timings.comboDisplay; - scoreBar.text += ' // Combo Breaks: ' + Std.string(PlayState.misses); - scoreBar.text += ' // Rank: ' + Std.string(Timings.returnScoreRating().toUpperCase()); + scoreBar.text += 'Accuracy: ' + Std.string(Math.floor(Timings.getAccuracy() * 100) / 100) + '%' + Timings.comboDisplay; + scoreBar.text += divider + 'Combo Breaks: ' + Std.string(PlayState.misses); + scoreBar.text += divider + 'Rank: ' + Std.string(Timings.returnScoreRating().toUpperCase()); } scoreBar.x = ((FlxG.width / 2) - (scoreBar.width / 2)); diff --git a/source/meta/state/PlayState.hx b/source/meta/state/PlayState.hx index 77091b015..1f291de98 100644 --- a/source/meta/state/PlayState.hx +++ b/source/meta/state/PlayState.hx @@ -1281,6 +1281,8 @@ class PlayState extends MusicBeatState songMusic.onComplete = endSong; vocals.play(); + resyncVocals(); + #if !html5 // Song duration in a float, useful for the time left feature songLength = songMusic.length;