mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
format
This commit is contained in:
parent
2e2bfe8db4
commit
4970e4e34f
@ -66,9 +66,9 @@ void TrophyUI::Draw() {
|
|||||||
trophy_time_now += io.DeltaTime * 1000;
|
trophy_time_now += io.DeltaTime * 1000;
|
||||||
if (trophy_time_now >= trophy_start_time + 5000) {
|
if (trophy_time_now >= trophy_start_time + 5000) {
|
||||||
if (!trophy_queue.empty()) {
|
if (!trophy_queue.empty()) {
|
||||||
TrophyInfo nextTrophy = trophy_queue.front();
|
TrophyInfo next_trophy = trophy_queue.front();
|
||||||
trophy_queue.pop();
|
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 {
|
} else {
|
||||||
current_trophy_ui.reset();
|
current_trophy_ui.reset();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user