diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-07-31 12:55:49 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-07-31 12:55:49 -0300 |
commit | e8a7e998a63553abc3ee855652f14b79a1aaac51 (patch) | |
tree | 5916b84cf1c81cbafa9700ab3fa2c5421e11a3de /npc/magic | |
parent | a1fceacf595aa34c9ad3d29f3e60788cec6d8e4b (diff) | |
download | serverdata-e8a7e998a63553abc3ee855652f14b79a1aaac51.tar.gz serverdata-e8a7e998a63553abc3ee855652f14b79a1aaac51.tar.bz2 serverdata-e8a7e998a63553abc3ee855652f14b79a1aaac51.tar.xz serverdata-e8a7e998a63553abc3ee855652f14b79a1aaac51.zip |
Actually that was noobish of me
Diffstat (limited to 'npc/magic')
-rw-r--r-- | npc/magic/forget.txt | 4 |
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; |