summaryrefslogtreecommitdiff
path: root/npc/functions/timer.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/timer.txt')
-rw-r--r--npc/functions/timer.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/timer.txt b/npc/functions/timer.txt
index ac7d130bd..ee96b2191 100644
--- a/npc/functions/timer.txt
+++ b/npc/functions/timer.txt
@@ -70,7 +70,7 @@ function script mapdeltimer {
function script partytimer {
.@c = getunits(BL_PC, .@players, false, getarg(0));
for (.@i = 0; .@i < .@c; .@i++) {
- if (getcharid(2, strcharinfo(0,"",.@players[.@i]) ) == getarg(3))
+ if (getcharid(1, strcharinfo(0,"",.@players[.@i]) ) == getarg(3))
addtimer(getarg(1), getarg(2), .@players[.@i]);
}
return .@i;