From 3d05cf3a3cf9c72e9bd2a3c93a3477837b80b9b3 Mon Sep 17 00:00:00 2001 From: Streusel Date: Thu, 4 Jun 2015 23:30:18 -0700 Subject: Addressed issue #519 --- npc/kafras/functions_kafras.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc') 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") -- cgit v1.2.3-60-g2f50