diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/atcommand.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index d6b2ae1ab..459a4a2ee 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -5473,17 +5473,13 @@ ACMD(autotrade) { ((timeout > 0) ? min(timeout,battle_config.at_timeout) : battle_config.at_timeout) * 60000, SCFLAG_NONE); } - /* currently standalone is not supporting buyingstores, so we rely on the previous method */ - if( sd->state.buyingstore ) { - clif->authfail_fd(fd, 15); - return true; - } - - clif->chsys_quit(sd); clif->authfail_fd(sd->fd, 15); - + + /* currently standalone is not supporting buyingstores, so we rely on the previous method */ + if( sd->state.buyingstore ) + return true; #ifdef AUTOTRADE_PERSISTENCY pc->autotrade_prepare(sd); |