Ignore:
Timestamp:
08/07/10 20:01:34 (9 years ago)
Author:
beliar
Message:

Ticket #139: Patch by Beliar.

  • Initiating a dialogue will now pause the game and no other interaction with the world is possible.
  • Opening the pause menu will now pause the game
  • Opening the save or load window will now pause the game

fixes[s:trac, t:139]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/gamemodel.py

    r615 r632  
    332332        return location 
    333333 
     334    def pause(self, paused): 
     335        """ Pause/Unpause the game 
     336        @return: nothing""" 
     337 
     338        self.active_map.pause(paused) 
     339     
    334340    def togglePause(self): 
    335         """ Pause/Unpause the game. 
    336             @return: nothing""" 
     341        """ Toggle paused state. 
     342        @return: nothing""" 
    337343        self.active_map.togglePause() 
     344         
     345    def isPaused(self): 
     346        """Returns wheter the game is paused or not""" 
     347        return self.active_map.isPaused() 
    338348     
    339349    def readMapFiles(self): 
Note: See TracChangeset for help on using the changeset viewer.