summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 459a4a2ee..cc6f0b20d 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -5482,6 +5482,7 @@ ACMD(autotrade) {
return true;
#ifdef AUTOTRADE_PERSISTENCY
+ sd->state.autotrade = 2;/** state will enter pre-save, we use it to rule out some criterias **/
pc->autotrade_prepare(sd);
return false;/* we fail to not cause it to proceed on is_atcommand */