summaryrefslogtreecommitdiff
path: root/npc/kafras/functions_kafras.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/kafras/functions_kafras.txt')
-rw-r--r--npc/kafras/functions_kafras.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt
index 483e9b72a..eabd3f1d8 100644
--- a/npc/kafras/functions_kafras.txt
+++ b/npc/kafras/functions_kafras.txt
@@ -315,7 +315,7 @@ function script F_KafTele {
mes "your destination.";
next;
.@menu$ = "";
- for (.@i = 0; .@i <= 6; ++.@i)
+ for (.@i = 0; .@i <= getarraysize(@wrpD$); ++.@i)
.@menu$ += @wrpC$[.@i] + ":";
.@j = select(.@menu$) - 1;
if (@wrpC$[.@j] == "Cancel")