Fix flying game timer

This commit is contained in:
Daniel 2015-03-29 14:06:26 +03:00
parent c768b80e60
commit d1b9ec2621

View file

@ -28,6 +28,7 @@ class CogdoFlyingGame(DirectObject):
self.index2LegalEagle = {}
self.legalEagles = []
self.isGameComplete = False
self.localPlayer = None
self._hints = {'targettedByEagle': False,
'invulnerable': False}
@ -169,7 +170,7 @@ class CogdoFlyingGame(DirectObject):
self.guiMgr.onstage()
if not Globals.Dev.InfiniteTimeLimit:
self.guiMgr.startTimer(Globals.Gameplay.SecondsUntilGameOver, self._handleTimerExpired, keepHidden=True)
self.guiMgr.startTimer(Globals.Gameplay.SecondsUntilGameOver, self._handleTimerExpired)
def exit(self):
self.ignore(CogdoFlyingObstacle.EnterEventName)