summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/023-3-1/logic.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/023-3-1/logic.txt b/npc/023-3-1/logic.txt
index feea88abb..5f2fc1e85 100644
--- a/npc/023-3-1/logic.txt
+++ b/npc/023-3-1/logic.txt
@@ -87,7 +87,8 @@ OnTouch:
// Begin the event core
setq3 FrostiaQuest_Homunculus, 2;
addtimer(1100, .@n$+"::OnEvent01");
- initnpctimer;
+ attachnpctimer();
+ initnpctimer();
}
end;
OnEvent01:
@@ -271,8 +272,11 @@ OnTimer1000:
.@m$=instance_mapname("023-3-1");
if (getmapusers(.@m$))
initnpctimer;
+OnTimerQuit:
// Cleanup - you fail.
killmonsterall(.@m$);
+ stopnpctimer();
+ detachnpctimer();
end;
}