mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 15:38:19 +08:00
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:
@@ -589,6 +589,11 @@ void IndividualProgression::AwardEarnedVanillaPvpTitles(Player* player)
|
||||
player->SetTitle(sCharTitlesStore.LookupEntry(title.TitleId), true);
|
||||
}
|
||||
}
|
||||
|
||||
if (highestTitle != -1)
|
||||
{
|
||||
player->SetCurrentTitle(sCharTitlesStore.LookupEntry(highestTitle));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user