From a659c48f25245f32e53aaac320c8151770794c6b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Oct 2015 19:20:41 +0300 Subject: Move timer logic for graph based npcs to function. --- npc/001-1/juscare.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'npc/001-1/juscare.txt') diff --git a/npc/001-1/juscare.txt b/npc/001-1/juscare.txt index a81cbc27..e6cdc9cb 100644 --- a/npc/001-1/juscare.txt +++ b/npc/001-1/juscare.txt @@ -38,12 +38,7 @@ localClose; OnTimer1000: - if (!isunitwalking()) - { - movetonextpoint; - } - initnpctimer; - end; + dographmovestep; OnInit: .sex = G_MALE; -- cgit v1.2.3-60-g2f50