diff options
author | David Gay <david@davidgay.org> | 2021-05-31 17:02:27 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-31 17:02:27 -0400 |
commit | 9e01676407d761a31b530bc63c82548871827089 (patch) | |
tree | 44cc71aaf5ae50d8c08d08590185986fc31aa701 /app | |
parent | dcbb8efcde93af6452af77fea6b1038784db477e (diff) |
Delete stray `byebug` call
Diffstat (limited to 'app')
-rw-r--r-- | app/models/character.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/character.rb b/app/models/character.rb index 5b3a4ab..25a4ac5 100644 --- a/app/models/character.rb +++ b/app/models/character.rb @@ -263,7 +263,6 @@ class Character < ApplicationRecord def stop_resting return false unless self.started_resting_at Character.transaction do - byebug seconds_of_this_rest = (Time.now - self.started_resting_at).to_i # Maximum rested duration is 10 days. new_rested_duration = [(seconds_of_this_rest + self.rested_duration), (60 * 60 * 24 * 10)].min |