summaryrefslogtreecommitdiff
path: root/app/controllers/game_controller.rb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-06-04 10:39:28 -0400
committerDavid Gay <david@davidgay.org>2021-06-04 10:39:28 -0400
commit0371c5b9a0303d24f043ae84f827f760ac8680ae (patch)
tree32268da121df10f80ff522ae86c028551942c530 /app/controllers/game_controller.rb
parent8c83a0a78cf9e02de782f46337a686208e0ed7ac (diff)
Adjust error message since Rest section has been removed from Character view
Diffstat (limited to 'app/controllers/game_controller.rb')
-rw-r--r--app/controllers/game_controller.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/game_controller.rb b/app/controllers/game_controller.rb
index 62ab77b..6205c17 100644
--- a/app/controllers/game_controller.rb
+++ b/app/controllers/game_controller.rb
@@ -27,8 +27,7 @@ class GameController < ApplicationController
activity = current_char.activity
if current_char.resting?
- @results.replace([{ type: "error", message: "You can't do anything while you're resting. Go to the Character" \
- " page to stop resting." }])
+ @results.replace([{ type: "error", message: "You can't do anything while you're resting." }])
current_char.stop_activity
return
end