diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/game_controller.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/game_controller.rb b/app/controllers/game_controller.rb index f1387e0..c5bfdbc 100644 --- a/app/controllers/game_controller.rb +++ b/app/controllers/game_controller.rb @@ -1,4 +1,9 @@ class GameController < ApplicationController + def stop_activity + current_char.stop_activity + redirect_to locations_path + end + def finish_activity @results = [] return unless current_char.activity_time_remaining <= 0 |