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 c5bfdbc..4b96b49 100644
--- a/app/controllers/game_controller.rb
+++ b/app/controllers/game_controller.rb
@@ -102,6 +102,8 @@ class GameController < ApplicationController
current_char.stop_activity
@results.push({ type: "message", body: "You have finished your work." })
end
+ else
+ current_char.activity_started_at = Time.now
end
end
rescue ItemQuantityError