summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2010-07-08 16:13:37 +0200
committerJared Adams <jaxad0127@gmail.com>2010-07-08 10:40:43 -0600
commit43093b041b6b892d30c936df4f152573a16046b1 (patch)
treeaf4ca3ef4ddee59662fbfe8d3eb6f6894c39bde4 /npc/functions
parent4b351cfce889508c5140788c18441c7603009241 (diff)
downloadserverdata-43093b041b6b892d30c936df4f152573a16046b1.tar.gz
serverdata-43093b041b6b892d30c936df4f152573a16046b1.tar.bz2
serverdata-43093b041b6b892d30c936df4f152573a16046b1.tar.xz
serverdata-43093b041b6b892d30c936df4f152573a16046b1.zip
Fixed banker function to do "quit" correctly.
The banker function was lacking a return statement which resulted in "Quit" acting like "retrieve other amount of money". Added the missing return statement.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/banker.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/functions/banker.txt b/npc/functions/banker.txt
index 89551448..025647d2 100644
--- a/npc/functions/banker.txt
+++ b/npc/functions/banker.txt
@@ -31,6 +31,7 @@ L_Dep:
"All of my money", L_Dep_All,
"I've changed my mind", L_Start,
"Quit", -;
+ return;
L_Dep_Input:
input @Amount;