Changeset 183:2b9176c35397


Ignore:
Timestamp:
Sep 4, 2009, 5:12:12 PM (11 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Convert:
svn:b4e93282-eac8-4b8b-b765-0f5d36de2b68@184
Message:

Move cursor reset to start of night so it also triggers on using 'n' to finish day.

Location:
gamelib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gamelib/engine.py

    r182 r183  
    146146        sound.stop_background_music()
    147147        self.game.gameboard.tv.sun(False)
     148        self.game.gameboard.reset_cursor()
    148149
    149150        sound.play_sound("nightfall.ogg")
  • gamelib/gameboard.py

    r174 r183  
    103103    def day_done(self):
    104104        import engine
    105         self.gameboard.reset_cursor()
    106105        pygame.event.post(engine.START_NIGHT)
    107106
Note: See TracChangeset for help on using the changeset viewer.