From 2dc75afd2c6b01a9d9aa419234157330d8eb172f Mon Sep 17 00:00:00 2001 From: Leah Alpert Date: Sun, 28 Aug 2011 23:33:55 -0700 Subject: Reset input queue at start of each game --- tetris.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tetris.py') diff --git a/tetris.py b/tetris.py index fd67ae2..64b3eed 100644 --- a/tetris.py +++ b/tetris.py @@ -217,6 +217,7 @@ class TetrisGame(object): self.board_animation(0,"up_arrow") self.board_animation(1,"up_arrow") self.start_time = None + self.input.reset() self.update_gui() self.handle_input() #this calls all other functions, such as add_player, start_game -- cgit v1.2.3