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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index de71819de..61ac124ca 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -9866,8 +9866,7 @@ bool atcommand_exec(const int fd, struct map_session_data *sd, const char *messa
sprintf(atcmd_msg, "%s", message);
}
- if( battle_config.idletime_criteria & BCIDLE_ATCOMMAND )
- sd->idletime = sockt->last_tick;
+ pc->update_idle_time(sd, BCIDLE_ATCOMMAND);
//Clearing these to be used once more.
memset(command, '\0', sizeof(command));