diff options
author | Dennis Friis <peavey@inspircd.org> | 2009-06-21 22:36:40 +0200 |
---|---|---|
committer | Dennis Friis <peavey@inspircd.org> | 2009-06-21 22:36:40 +0200 |
commit | 2f14c6344f0e2f66a086123368a9375d443661ed (patch) | |
tree | 12406246c292b4d577ce8488484e921181deba43 /npc | |
parent | cf466ef6adebfb1d04cfdb5f03db665d574b6c0a (diff) | |
download | classic-serverdata-2f14c6344f0e2f66a086123368a9375d443661ed.tar.gz classic-serverdata-2f14c6344f0e2f66a086123368a9375d443661ed.tar.bz2 classic-serverdata-2f14c6344f0e2f66a086123368a9375d443661ed.tar.xz classic-serverdata-2f14c6344f0e2f66a086123368a9375d443661ed.zip |
Fix caul on sending no choice.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/018-2_Woodland_mining_camp/caul.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/018-2_Woodland_mining_camp/caul.txt b/npc/018-2_Woodland_mining_camp/caul.txt index cb79cc4d..8b79658a 100644 --- a/npc/018-2_Woodland_mining_camp/caul.txt +++ b/npc/018-2_Woodland_mining_camp/caul.txt @@ -95,7 +95,9 @@ L_M_no_inspector: goto L_close; // otherwise the choice is the number of potions-to-brew - set @num, @choice; + set @num, @choice; + if (@num == 0) + goto L_close; L_brew: mes "[Caul]"; |