feat(Core/Arena): support cross-faction teams (#6448)
This commit is contained in:
@@ -1864,7 +1864,7 @@ GroupJoinBattlegroundResult Group::CanJoinBattlegroundQueue(Battleground const*
|
|||||||
return ERR_BATTLEGROUND_JOIN_FAILED;
|
return ERR_BATTLEGROUND_JOIN_FAILED;
|
||||||
|
|
||||||
// don't allow cross-faction groups to join queue
|
// don't allow cross-faction groups to join queue
|
||||||
if (member->GetTeamId() != teamId)
|
if (member->GetTeamId() != teamId && !sWorld->getBoolConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_GROUP))
|
||||||
return ERR_BATTLEGROUND_JOIN_TIMED_OUT;
|
return ERR_BATTLEGROUND_JOIN_TIMED_OUT;
|
||||||
|
|
||||||
// don't let join rated matches if the arena team id doesn't match
|
// don't let join rated matches if the arena team id doesn't match
|
||||||
|
|||||||
Reference in New Issue
Block a user