diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-06-04 01:26:53 +0000 |
---|---|---|
committer | Jesusalva Jesusalva <jesusalva@tmw2.org> | 2024-06-04 01:26:53 +0000 |
commit | 507f457c6da4386903876e47dd18b3420ca1c007 (patch) | |
tree | d1a1f87a9f69b925ae7731937f889de3f49dec89 | |
parent | 7ebac6ec11549735b2d195b7fd4dd875a845fa89 (diff) | |
download | serverdata-507f457c6da4386903876e47dd18b3420ca1c007.tar.gz serverdata-507f457c6da4386903876e47dd18b3420ca1c007.tar.bz2 serverdata-507f457c6da4386903876e47dd18b3420ca1c007.tar.xz serverdata-507f457c6da4386903876e47dd18b3420ca1c007.zip |
Don't double-ask when making ingots. amount=0 is the same as answering no.
-rw-r--r-- | npc/003-8/jhedia.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/npc/003-8/jhedia.txt b/npc/003-8/jhedia.txt index a9d09fe7e..3b7cc6710 100644 --- a/npc/003-8/jhedia.txt +++ b/npc/003-8/jhedia.txt @@ -25,11 +25,7 @@ mesq l("Do you want to craft @@? For that I will need @@ @@, @@ @@ and @@ gp.", getitemlink(.@prize), .@oream, getitemlink(.@basei), .@coalm, getitemlink(Coal), .@price); - askyesno(); - mes ""; - - if (@menu == ASK_NO) goto L_Menu; - + next; mesn; mesq l("How many ingots do you want to make?"); input .@amount; |