diff gamelib/engine.py @ 245:634491bf37e8

Change toolbar to gui.Toolbar -- gives nicer highlighting.
author Simon Cross <hodgestar@gmail.com>
date Sat, 05 Sep 2009 12:15:46 +0000
parents 4a87bfa5cc63
children f399e4926c36
line wrap: on
line diff
--- a/gamelib/engine.py	Sat Sep 05 12:11:58 2009 +0000
+++ b/gamelib/engine.py	Sat Sep 05 12:15:46 2009 +0000
@@ -118,6 +118,7 @@
 
     def event(self, e):
         if events_equal(e, START_NIGHT):
+            self.game.gameboard.reset_states()
             return NightState(self.game)
         elif e.type is KEYDOWN and e.key == K_ESCAPE:
             self.game.gameboard.reset_states()