From 8267e4168db28fec7418cdc5a289ab63b31460f4 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 20 May 2014 08:19:47 +0900 Subject: [PATCH] Hide preview tetrad when spawning a new one --- tetris.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tetris.py b/tetris.py index 77b1b0b..8cdc8cc 100755 --- a/tetris.py +++ b/tetris.py @@ -314,6 +314,7 @@ class Game: self.tetrad = self.tetrad_next.centered(self.board.grid_dims[0]) self.tetrad_next = Tetrad.random() + self.tetrad_preview = None if not self.try_placement(self.tetrad): self.end_game()