diff --git a/src/UI/ScoreDetails/GeneralScoreDetails.cpp b/src/UI/ScoreDetails/GeneralScoreDetails.cpp index b7eae98..bc7676d 100644 --- a/src/UI/ScoreDetails/GeneralScoreDetails.cpp +++ b/src/UI/ScoreDetails/GeneralScoreDetails.cpp @@ -78,11 +78,11 @@ string GetDetailsString(const Score& score) { } result << ""; - if (score.fullCombo) result << "Full Combo "; - if (score.missedNotes > 0) result << "Misses: " << to_string(score.missedNotes) + " "; - if (score.badCuts > 0) result << "Bad cuts: " << to_string(score.badCuts) + " "; - if (score.bombCuts > 0) result << "Bomb cuts: " << to_string(score.bombCuts) + " "; - if (score.wallsHit > 0) result << "Walls hit: " << to_string(score.wallsHit) + " "; + if (score.fullCombo) result << "Full Combo "; + if (score.missedNotes > 0) result << "Misses: " << to_string(score.missedNotes) + " "; + if (score.badCuts > 0) result << "Bad cuts: " << to_string(score.badCuts) + " "; + if (score.bombCuts > 0) result << "Bomb cuts: " << to_string(score.bombCuts) + " "; + if (score.wallsHit > 0) result << "Walls hit: " << to_string(score.wallsHit) + " "; result << ""; return result.str(); diff --git a/src/Utils/ReplayManager.cpp b/src/Utils/ReplayManager.cpp index 98cabcb..c699753 100644 --- a/src/Utils/ReplayManager.cpp +++ b/src/Utils/ReplayManager.cpp @@ -26,12 +26,12 @@ void ReplayManager::ProcessReplay(Replay const &replay, PlayEndData status, bool BeatLeaderLogger.info("{}",("Replay saved " + filename).c_str()); if(!UploadEnabled()) { - finished(ReplayUploadStatus::finished, "Upload disabled. But replay was saved.", 0, -1); + finished(ReplayUploadStatus::finished, "Upload disabled. But replay was saved.", 0, -1); return; } if (replay.info.failTime > 0.001 || replay.info.speed > 0.001) { - finished(ReplayUploadStatus::finished, "Failed attempt was saved!", 0, -1); + finished(ReplayUploadStatus::finished, "Failed attempt was saved!", 0, -1); } if(skipUpload) return; @@ -70,7 +70,7 @@ void ReplayManager::TryPostReplay(string name, PlayEndData status, int tryIndex, auto duration = chrono::duration_cast(chrono::steady_clock::now() - replayPostStart).count(); BeatLeaderLogger.info("{}", ("Replay was posted! It took: " + to_string((int)duration) + "msec. \n").c_str()); if (runCallback) { - finished(ReplayUploadStatus::finished, "Replay was posted!", 100, statusCode); + finished(ReplayUploadStatus::finished, "Replay was posted!", 100, statusCode); } if (!getModConfig().SaveLocalReplays.GetValue()) { remove(name.data()); @@ -82,7 +82,7 @@ void ReplayManager::TryPostReplay(string name, PlayEndData status, int tryIndex, } BeatLeaderLogger.error("{}", ("Replay was not posted! " + to_string(statusCode) + result).c_str()); if (runCallback) { - finished(ReplayUploadStatus::error, std::string("Replay was not posted. " + result), 0, statusCode); + finished(ReplayUploadStatus::error, std::string("Replay was not posted. " + result), 0, statusCode); } } }, [finished, runCallback](float percent) {