From 00443f9d168dc4fc272dee84c9ab8641062bf259 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 8 Feb 2015 17:24:45 +0100 Subject: Add negative bonus cheat --- app/controllers/Console.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/Console.scala b/app/controllers/Console.scala index 5c576b5..b3e7804 100644 --- a/app/controllers/Console.scala +++ b/app/controllers/Console.scala @@ -35,10 +35,11 @@ object Console extends Controller { val grant = commandData.command match { case "kaching" => 1000 case "motherlode" => 5000 + case "clippy" => -400000 case _ => 0 } - if (grant > 0) { + if (grant != 0) { Tables.Transactions += Tables.Transaction( userUuid = request.account.get.userUuid.get, transactionDate = new java.sql.Timestamp(new java.util.Date().getTime), -- cgit v1.2.3