diff options
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 |