Remove the update callback on all events
Not only was the extra call to the update callback in the AchievementEventHandler method unnecessary, it was getting called on events that don't even need to be tracked here, causing a lot of lag when it turned out one achievement was repeatedly spamming Achievement Reset Events as a shortcut.
This commit is contained in:
parent
8f6fd912f7
commit
085c17aed4
|
@ -751,8 +751,6 @@ void AchievementManager::AchievementEventHandler(const rc_runtime_event_t* runti
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
m_update_callback();
|
||||
}
|
||||
|
||||
std::recursive_mutex& AchievementManager::GetLock()
|
||||
|
|
Loading…
Reference in New Issue