summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-29 18:14:24 -0300
committershennetsind <ind@henn.et>2013-07-29 18:14:24 -0300
commit7aa9e6e8b1036a74281c990f850a0c398701c298 (patch)
tree8afd1a162910491347390fcde1b3883d217f03cf /src/map/map.c
parent640c66779d8da4baa8af6bd0fee2583ec2b6143c (diff)
downloadhercules-7aa9e6e8b1036a74281c990f850a0c398701c298.tar.gz
hercules-7aa9e6e8b1036a74281c990f850a0c398701c298.tar.bz2
hercules-7aa9e6e8b1036a74281c990f850a0c398701c298.tar.xz
hercules-7aa9e6e8b1036a74281c990f850a0c398701c298.zip
BG Queue Fixes
Cleared 3 out of 5, #69 Support for the cancel button, for pre-game position to return afterwards and fix to the queue position problem after first game. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index dbada2e96..de805e83f 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1536,7 +1536,7 @@ int map_quit(struct map_session_data *sd) {
if (sd->npc_id)
npc_event_dequeue(sd);
- if( sd->bg_id )
+ if( sd->bg_id && !sd->bg_queue.arena ) /* TODO: dump this chunk after bg_queue is fully enabled */
bg_team_leave(sd,1);
skill->cooldown_save(sd);