Cleans up checks for leaving active Battlegrounds (#6124)

* When a player deserts an active Battleground they will no longer receive the  SC_ENTRY_QUEUE_APPLY_DELAY status from leaving the queue. This makes it so that the proper Battleground desertion message is shown when trying to join another Battleground.
This commit is contained in:
Aleos
2021-07-29 15:33:47 -04:00
committed by GitHub
parent ef291e4d83
commit 1cbf6aefdd
3 changed files with 9 additions and 6 deletions

View File

@@ -2069,7 +2069,7 @@ int map_quit(struct map_session_data *sd) {
bg_team_leave(sd, true, true);
if (sd->bg_queue_id > 0)
bg_queue_leave(sd);
bg_queue_leave(sd, false);
if( sd->status.clan_id )
clan_member_left(sd);