From 4970e4e34fcabe6d58645e2310397fd7d7573e53 Mon Sep 17 00:00:00 2001 From: CrazyBloo Date: Mon, 30 Sep 2024 20:43:51 -0400 Subject: [PATCH] format --- src/core/libraries/np_trophy/trophy_ui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/libraries/np_trophy/trophy_ui.cpp b/src/core/libraries/np_trophy/trophy_ui.cpp index 412e5fe74..bbc597b74 100644 --- a/src/core/libraries/np_trophy/trophy_ui.cpp +++ b/src/core/libraries/np_trophy/trophy_ui.cpp @@ -15,7 +15,7 @@ std::optional current_trophy_ui; std::queue trophy_queue; TrophyUI::TrophyUI(std::filesystem::path trophyIconPath, std::string trophyName) - : trophy_icon_path(trophyIconPath), trophy_name(trophyName) { + : trophy_icon_path(trophyIconPath), trophy_name(trophyName) { trophy_start_time = std::chrono::system_clock::now().time_since_epoch().count(); trophy_time_now = trophy_start_time; if (std::filesystem::exists(trophy_icon_path)) { @@ -66,9 +66,9 @@ void TrophyUI::Draw() { trophy_time_now += io.DeltaTime * 1000; if (trophy_time_now >= trophy_start_time + 5000) { if (!trophy_queue.empty()) { - TrophyInfo nextTrophy = trophy_queue.front(); + TrophyInfo next_trophy = trophy_queue.front(); trophy_queue.pop(); - current_trophy_ui.emplace(nextTrophy.trophy_icon_path, nextTrophy.trophy_name); + current_trophy_ui.emplace(next_trophy.trophy_icon_path, next_trophy.trophy_name); } else { current_trophy_ui.reset(); }