summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/controllers/game_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/game_controller.rb b/app/controllers/game_controller.rb
index f8b9973..9574f31 100644
--- a/app/controllers/game_controller.rb
+++ b/app/controllers/game_controller.rb
@@ -195,6 +195,7 @@ class GameController < ApplicationController
current_char.stop_activity
@results.replace([{ type: "error",
message: "You can't fight in your condition. You'll have to heal a wound." }])
+ @results.push({ type: "br" })
end
private
@@ -253,6 +254,7 @@ class GameController < ApplicationController
unless char.can_fight?
@results.push({ type: "error",
message: "You can't fight in your condition. You'll have to heal a wound." })
+ @results.push({ type: "br" })
char.stop_activity
return
end