summaryrefslogtreecommitdiff
path: root/npc/re/quests/quests_dicastes.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/quests/quests_dicastes.txt')
-rw-r--r--npc/re/quests/quests_dicastes.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/re/quests/quests_dicastes.txt b/npc/re/quests/quests_dicastes.txt
index 5229cbc2e..bf5317195 100644
--- a/npc/re/quests/quests_dicastes.txt
+++ b/npc/re/quests/quests_dicastes.txt
@@ -436,11 +436,11 @@ function script que_dic {
delitem getarg(3), getarg(4);
}
else if (getarg(0) == 2) {
- for(set .@size, getargcount(); .@i <= .@size; set .@i, .@i + 1) {
+ for(.@i = 1; .@i < getargcount(); .@i++) {
if (checkquest(getarg(.@i)) >= 0)
erasequest getarg(.@i);
}
- return;
+ return;
}
getexp getarg(2),0;
erasequest getarg(1);