diff options
author | Leah Alpert <lalpert@mit.edu> | 2011-08-28 23:33:55 -0700 |
---|---|---|
committer | Leah Alpert <lalpert@mit.edu> | 2011-08-28 23:33:55 -0700 |
commit | 2dc75afd2c6b01a9d9aa419234157330d8eb172f (patch) | |
tree | 9a8eb34e4de36e3bc2a833bb35a82c7aac723cc6 /tetris.py | |
parent | a62926dd1e304cd75066811425de108f340926f6 (diff) |
Reset input queue at start of each game
Diffstat (limited to 'tetris.py')
-rw-r--r-- | tetris.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |