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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index d3d7ac65d..cbef8ca95 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1622,6 +1622,10 @@ int map_quit(struct map_session_data *sd) {
}
}
+ if( sd->state.vending ) {
+ idb_remove(vending->db, sd->status.char_id);
+ }
+
party->booking_delete(sd); // Party Booking [Spiria]
pc->makesavestatus(sd);
pc->clean_skilltree(sd);