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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user