fix: Auto-assigned highest title as current title for PvP titles when cleaning up. (#861)

pvp titles are now auto assigned
This commit is contained in:
Nicolas Lebacq
2025-11-17 10:46:49 +00:00
committed by GitHub
parent 1c74a9847b
commit 9bfb2b06c5

View File

@@ -589,6 +589,11 @@ void IndividualProgression::AwardEarnedVanillaPvpTitles(Player* player)
player->SetTitle(sCharTitlesStore.LookupEntry(title.TitleId), true); player->SetTitle(sCharTitlesStore.LookupEntry(title.TitleId), true);
} }
} }
if (highestTitle != -1)
{
player->SetCurrentTitle(sCharTitlesStore.LookupEntry(highestTitle));
}
} }
} }
} }