summaryrefslogtreecommitdiff
path: root/src/map/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.cpp')
-rw-r--r--src/map/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.cpp b/src/map/script.cpp
index 3c95bc1..51b15d4 100644
--- a/src/map/script.cpp
+++ b/src/map/script.cpp
@@ -2737,7 +2737,7 @@ void builtin_getnpctimer(ScriptState *st)
val = npc_gettimerevent_tick(nd).count();
break;
case 1:
- val = nd->scr.nexttimer != nd->scr.timer_eventv.end();
+ val = nd->scr.timer_active;
break;
case 2:
val = nd->scr.timer_eventv.size();