diff options
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c index 78e67d3d4..32838dfa9 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -1564,6 +1564,8 @@ int map_quit(struct map_session_data *sd) //(changing map-servers invokes unit_free but bypasses map_quit) if(sd->sc.count) { //Status that are not saved... + if(sd->sc.data[SC_AUTOTRADE]) + status_change_end(&sd->bl,SC_AUTOTRADE,-1); if(sd->sc.data[SC_SPURT]) status_change_end(&sd->bl,SC_SPURT,-1); if(sd->sc.data[SC_BERSERK]) |