From 9e01676407d761a31b530bc63c82548871827089 Mon Sep 17 00:00:00 2001 From: David Gay Date: Mon, 31 May 2021 17:02:27 -0400 Subject: Delete stray `byebug` call --- app/models/character.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/models/character.rb') 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 -- cgit v1.2.3