diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/game_controller.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/game_controller.rb b/app/controllers/game_controller.rb index 3742824..b0fdaea 100644 --- a/app/controllers/game_controller.rb +++ b/app/controllers/game_controller.rb @@ -128,6 +128,10 @@ class GameController < ApplicationController else current_char.update(activity_started_at: Time.now) end + + unless @results.any? + @results.push({ type: "message", body: "You come up empty." }) + end end rescue ItemQuantityError current_char.stop_activity |