Fixes a bug in resume_game_time that caused the game time to jump forward to the real time after a pause and resume. Now, the game time resumes from the time it was paused at, as it should.
The test included in this PR fails if active_attempt.game_time_paused_at = None; is moved to the beginning of the if body, but passes with the PR as it is.
Fixes a bug in
resume_game_time
that caused the game time to jump forward to the real time after a pause and resume. Now, the game time resumes from the time it was paused at, as it should.The test included in this PR fails if
active_attempt.game_time_paused_at = None;
is moved to the beginning of theif
body, but passes with the PR as it is.