From 3c989f5a833d7165676656b730b075c6043de1f7 Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Sat, 19 Jul 2025 00:31:34 +0200 Subject: [PATCH] Update IndividualProgressionPlayer.cpp (#558) if you have a lot of RND bots on your server this update may fix some startup lag issues. with this setting IndividualProgression.ExcludedAccountsRegex = "^RNDBOT.*" RND bots will no longer get checked for progression updates when they log in. --- src/IndividualProgressionPlayer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/IndividualProgressionPlayer.cpp b/src/IndividualProgressionPlayer.cpp index 6a255d0..ad2887b 100644 --- a/src/IndividualProgressionPlayer.cpp +++ b/src/IndividualProgressionPlayer.cpp @@ -19,6 +19,11 @@ public: void OnPlayerLogin(Player* player) override { + if (!sIndividualProgression->enabled || isExcludedFromProgression(player)) + { + return; + } + if (player->getClass() == CLASS_DEATH_KNIGHT && sIndividualProgression->deathKnightStartingProgression && !sIndividualProgression->hasPassedProgression(player, static_cast(sIndividualProgression->deathKnightStartingProgression))) { sIndividualProgression->UpdateProgressionState(player, static_cast(sIndividualProgression->deathKnightStartingProgression));