summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 36b83215a..bfc186322 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -9084,6 +9084,7 @@ BUILDIN_FUNC(initnpctimer)
nd->u.scr.rid = sd->bl.id;
}
+ nd->u.scr.timertick = 0;
npc_settimerevent_tick(nd,0);
npc_timerevent_start(nd, st->rid);
return 0;