Skip to content

Commit

Permalink
Merge pull request #1214 from garlic0x1/tetris-fix
Browse files Browse the repository at this point in the history
Tetris fix
  • Loading branch information
cxxxr authored Jan 1, 2024
2 parents 51aefec + b02d128 commit 45aa62b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/tetris/tetris.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@
(when (< 0 (- (floor *delete-nlines* 4)
(floor prev-nlines 4)))
(incf *level*)
(when (< 100 (timer-ms *timer*))
(decf (timer-ms *timer*) 100)))))))
(when (< 100 (lem/common/timer:timer-ms *timer*))
(decf (lem/common/timer:timer-ms *timer*) 100)))))))

(defun gameover-p ()
(loop :for x :from 1 :below (1- +field-width+) :do
Expand Down
1 change: 1 addition & 0 deletions src/common/timer.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
:stop-timer
:with-idle-timers
:update-idle-timers
:timer-ms
:get-next-timer-timing-ms)
#+sbcl
(:lock t))
Expand Down

0 comments on commit 45aa62b

Please sign in to comment.