summaryrefslogtreecommitdiff
path: root/npc/018-2_Woodland_mining_camp/caul.txt
diff options
context:
space:
mode:
authorDennis Friis <peavey@inspircd.org>2009-06-21 22:36:40 +0200
committerDennis Friis <peavey@inspircd.org>2009-06-21 22:36:40 +0200
commit2f14c6344f0e2f66a086123368a9375d443661ed (patch)
tree12406246c292b4d577ce8488484e921181deba43 /npc/018-2_Woodland_mining_camp/caul.txt
parentcf466ef6adebfb1d04cfdb5f03db665d574b6c0a (diff)
downloadserverdata-2f14c6344f0e2f66a086123368a9375d443661ed.tar.gz
serverdata-2f14c6344f0e2f66a086123368a9375d443661ed.tar.bz2
serverdata-2f14c6344f0e2f66a086123368a9375d443661ed.tar.xz
serverdata-2f14c6344f0e2f66a086123368a9375d443661ed.zip
Fix caul on sending no choice.
Diffstat (limited to 'npc/018-2_Woodland_mining_camp/caul.txt')
-rw-r--r--npc/018-2_Woodland_mining_camp/caul.txt4
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]";