Update IndividualProgressionPlayer.cpp

adding a progression check on switching areas
to avoid a possible required double logout
This commit is contained in:
Grimfeather
2025-07-29 06:03:38 +02:00
committed by GitHub
parent 07a79aaa23
commit a71a514552

View File

@@ -540,6 +540,8 @@ public:
void OnPlayerUpdateArea(Player* player, uint32 /*oldArea*/, uint32 newArea) override
{
sIndividualProgression->checkIPProgression(player);
switch (newArea) {
case AREA_DARKSHORE:
if ((sIndividualProgression->hasPassedProgression(player, PROGRESSION_PRE_AQ)) && (sIndividualProgression->isBeforeProgression(player, PROGRESSION_AQ_WAR)))