فهرست منبع

Follow up r16769, initnpctimer should reset the timer.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16784 54d463be-8e91-2dee-dedb-b68131a5f0ec
greenboxal2 12 سال پیش
والد
کامیت
7a0f936c35
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      src/map/script.c

+ 1 - 0
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;