This commit is contained in:
adrienmalin
2019-02-25 22:36:29 +01:00
parent 1e1d88ad69
commit 56ea9bc63a
2 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ class Tetris:
def hold_piece(self):
if self.current_piece.hold_enabled:
self.current_piece, self.hold_piece = self.held_piece, self.current_piece
self.current_piece, self.held_piece = self.held_piece, self.current_piece
self.held_piece.minoes_positions = self.held_piece.MINOES_POSITIONS
self.held_piece.hold_enabled = False
self.new_piece()