diff options
Diffstat (limited to 'app/controllers/game_controller.rb')
-rw-r--r-- | app/controllers/game_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/game_controller.rb b/app/controllers/game_controller.rb index de9fcd6..4f1ca0f 100644 --- a/app/controllers/game_controller.rb +++ b/app/controllers/game_controller.rb @@ -116,8 +116,10 @@ class GameController < ApplicationController end end rescue ItemQuantityError + current_char.stop_activity @results.replace([{ type: "error", message: "You don't have enough items to complete this activity." }]) rescue TooManyWoundsError + current_char.stop_activity @results.replace([{ type: "error", message: "You can't fight in your condition. You'll have to heal a wound." }]) end |