# HG changeset patch # User Simon Cross # Date 1252084332 0 # Node ID 2b9176c35397a4432af6ad2541fd075aba8192e4 # Parent d63951985313780d595cfdfbac60a649b27145fe Move cursor reset to start of night so it also triggers on using 'n' to finish day. diff -r d63951985313 -r 2b9176c35397 gamelib/engine.py --- a/gamelib/engine.py Fri Sep 04 16:49:38 2009 +0000 +++ b/gamelib/engine.py Fri Sep 04 17:12:12 2009 +0000 @@ -145,6 +145,7 @@ """Add some foxes to the farm""" sound.stop_background_music() self.game.gameboard.tv.sun(False) + self.game.gameboard.reset_cursor() sound.play_sound("nightfall.ogg") # Add a timer to the event queue diff -r d63951985313 -r 2b9176c35397 gamelib/gameboard.py --- a/gamelib/gameboard.py Fri Sep 04 16:49:38 2009 +0000 +++ b/gamelib/gameboard.py Fri Sep 04 17:12:12 2009 +0000 @@ -102,7 +102,6 @@ def day_done(self): import engine - self.gameboard.reset_cursor() pygame.event.post(engine.START_NIGHT) update_cash_counter = mkcountupdate('cash_counter')