Fix logic in previous Tetris change
* lisp/play/tetris.el (tetris-new-shape): Fix logic in previous change.
This commit is contained in:
parent
ca6c8fc72c
commit
de30e8c0de
1 changed files with 2 additions and 2 deletions
|
@ -364,8 +364,8 @@ each one of its four blocks.")
|
|||
(setq tetris-shape tetris-next-shape)
|
||||
(setq tetris-rot 0)
|
||||
(setq tetris-next-shape (if tetris-allow-repetitions
|
||||
(tetris--seven-bag)
|
||||
(random 7)))
|
||||
(random 7)
|
||||
(tetris--seven-bag)))
|
||||
(setq tetris-pos-x (/ (- tetris-width (tetris-shape-width)) 2))
|
||||
(setq tetris-pos-y 0)
|
||||
(if (tetris-test-shape)
|
||||
|
|
Loading…
Add table
Reference in a new issue