fix(Core/Group): CF Faction Assign & Leader Instance Faction (#21118)

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
manstfu
2025-01-13 12:54:47 +01:00
committed by GitHub
parent 67afd97edf
commit bf4118362a
10 changed files with 349 additions and 24 deletions

View File

@@ -3048,6 +3048,9 @@ void InstanceMap::RemovePlayerFromMap(Player* player, bool remove)
// If remove == true - player already deleted.
if (!remove)
player->SetPendingBind(0, 0);
if (instance_data)
instance_data->OnPlayerLeave(player);
}
void InstanceMap::AfterPlayerUnlinkFromMap()