diff options
Diffstat (limited to 'app/controllers/activities_controller.rb')
-rw-r--r-- | app/controllers/activities_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/activities_controller.rb b/app/controllers/activities_controller.rb index a32ffab..f72bc3a 100644 --- a/app/controllers/activities_controller.rb +++ b/app/controllers/activities_controller.rb @@ -6,6 +6,7 @@ class ActivitiesController < ApplicationController def start @activity = Activity.find(params[:id]) if current_char.can_do_activity?(@activity) + current_char.start_activity(@activity) redirect_to action: :show else flash[:alert] = "You can't do that. Make sure you have the items and meet the requirements." |