diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/atcommand.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 4c35999d6..07079c1f9 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -5484,7 +5484,14 @@ ACMD(autotrade) { int timeout = atoi(message); status->change_start(NULL,&sd->bl, SC_AUTOTRADE, 10000, 0, 0, 0, 0, ((timeout > 0) ? min(timeout,battle_config.at_timeout) : battle_config.at_timeout) * 60000, 0); } - + + /* currently standalones are 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); |