refresh ghost on hold

This commit is contained in:
adrienmalin 2019-10-06 10:59:31 +02:00
parent 0db5dd4d0d
commit e041a8118a

View File

@ -403,6 +403,7 @@ AGAIN""".format(
held_piece.coord += Movement.LEFT held_piece.coord += Movement.LEFT
held_piece.sprites.refresh() held_piece.sprites.refresh()
ghost_piece.sprites = TetrominoSprites(ghost_piece, self, GHOST_ALPHA) ghost_piece.sprites = TetrominoSprites(ghost_piece, self, GHOST_ALPHA)
ghost_piece.sprites.refresh()
def pause(self): def pause(self):
super().pause() super().pause()