1
0
mirror of synced 2024-11-13 18:50:53 +01:00

impr: Make achievement popups stay up for longer

This commit is contained in:
WerWolv 2023-09-03 10:26:40 +02:00
parent eba8c82699
commit 5538307838

View File

@ -440,11 +440,11 @@ namespace hex::plugin::builtin {
this->m_achievementUnlockQueueTimer = -1.0F;
this->m_currAchievement = nullptr;
// If there's more achievements to draw, draw the next one
// If there are more achievements to draw, draw the next one
if (!this->m_achievementUnlockQueue.empty()) {
this->m_currAchievement = this->m_achievementUnlockQueue.front();
this->m_achievementUnlockQueue.pop_front();
this->m_achievementUnlockQueueTimer = 2.5F;
this->m_achievementUnlockQueueTimer = 5.0F;
}
}
}