summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/controllers/game_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/game_controller.rb b/app/controllers/game_controller.rb
index 922301a..de9fcd6 100644
--- a/app/controllers/game_controller.rb
+++ b/app/controllers/game_controller.rb
@@ -112,7 +112,7 @@ class GameController < ApplicationController
@results.push({ type: "message", body: "You have finished your work." })
end
else
- current_char.activity_started_at = Time.now
+ current_char.update(activity_started_at: Time.now)
end
end
rescue ItemQuantityError