aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/magic.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/magic.cc b/src/magic.cc
index 7c0e4f5..60be085 100644
--- a/src/magic.cc
+++ b/src/magic.cc
@@ -1796,6 +1796,7 @@ void CreateMoney(TCreature *Actor, const char *Param){
if(Amount < 1 || Amount > 1000000){
SendMessage(Actor->Connection, TALK_FAILURE_MESSAGE,
"You may only create 1 to 1,000,000 gold.");
+ return;
}
int Crystal = (Amount / 10000);