summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-31 12:55:49 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-31 12:55:49 -0300
commite8a7e998a63553abc3ee855652f14b79a1aaac51 (patch)
tree5916b84cf1c81cbafa9700ab3fa2c5421e11a3de
parenta1fceacf595aa34c9ad3d29f3e60788cec6d8e4b (diff)
downloadserverdata-e8a7e998a63553abc3ee855652f14b79a1aaac51.tar.gz
serverdata-e8a7e998a63553abc3ee855652f14b79a1aaac51.tar.bz2
serverdata-e8a7e998a63553abc3ee855652f14b79a1aaac51.tar.xz
serverdata-e8a7e998a63553abc3ee855652f14b79a1aaac51.zip
Actually that was noobish of me
-rw-r--r--npc/magic/forget.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/magic/forget.txt b/npc/magic/forget.txt
index e410755eb..ab7f16ecb 100644
--- a/npc/magic/forget.txt
+++ b/npc/magic/forget.txt
@@ -15,7 +15,7 @@ function script ForgetfulNPC {
{
next;
mesc l("Which skill will you FORGET permanently today?"), 1;
- setarray .@forget$, l("Cancel"), -1;
+ setarray .@forget$, l("Cancel"), "0";
freeloop(true);
for (.@i=0; .@i < getarraysize($@MSK_MAGIC) ; .@i++) {
.@sk=$@MSK_MAGIC[.@i];
@@ -28,7 +28,7 @@ function script ForgetfulNPC {
}
freeloop(false);
menuint2(".@forget$");
- if (@menuret < 1)
+ if (!@menuret)
close;
mes "";
mesc l("Skill @@ will be permanently lost!", getskillname(@menuret)), 1;