summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/map/map.c b/src/map/map.c
index f55a85170..6c00496cd 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1682,14 +1682,6 @@ int map_quit(struct map_session_data *sd) {
}
}
- // Force exiting from duel and rejecting
- // all duel invitations when player quit [LuzZza]
- if(sd->duel_group > 0)
- duel_leave(sd->duel_group, sd);
-
- if(sd->duel_invite > 0)
- duel_reject(sd->duel_invite, sd);
-
//Do we really need to remove the name?
idb_remove(charid_db,sd->status.char_id);
idb_remove(id_db,sd->bl.id);