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:
LillyJadeKatrin 2024-03-04 20:04:08 -05:00
parent 8f6fd912f7
commit 085c17aed4
1 changed files with 0 additions and 2 deletions

View File

@ -751,8 +751,6 @@ void AchievementManager::AchievementEventHandler(const rc_runtime_event_t* runti
break;
}
}
m_update_callback();
}
std::recursive_mutex& AchievementManager::GetLock()