Hide preview tetrad when spawning a new one

This commit is contained in:
Alex Yatskov 2014-05-20 08:19:47 +09:00
parent 49d04bb21e
commit 8267e4168d

View File

@ -314,6 +314,7 @@ class Game:
self.tetrad = self.tetrad_next.centered(self.board.grid_dims[0]) self.tetrad = self.tetrad_next.centered(self.board.grid_dims[0])
self.tetrad_next = Tetrad.random() self.tetrad_next = Tetrad.random()
self.tetrad_preview = None
if not self.try_placement(self.tetrad): if not self.try_placement(self.tetrad):
self.end_game() self.end_game()