Skip to content

Commit

Permalink
fix hard drop issue
Browse files Browse the repository at this point in the history
  • Loading branch information
K0626089 committed Jun 9, 2017
1 parent 2ef5f6f commit 68adef8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pytris.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ def is_stackable(mino):
draw_board(next_mino, hold_mino, score, level, goal)

# Erase a mino
erase_mino(dx, dy, mino, rotation)
if not game_over:
erase_mino(dx, dy, mino, rotation)

# Move mino down
if not is_bottom(dx, dy, mino, rotation):
Expand Down

0 comments on commit 68adef8

Please sign in to comment.