changeset 29:86799b61e5dc

Fixed bug that the game crashes in the main menu after a few seconds.
author KarstenBock@gmx.net
date Sun, 04 Sep 2011 16:37:37 +0200
parents bcabbffc88e6
children ec5a55266f6a
files mode.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mode.py	Sun Sep 04 16:25:23 2011 +0200
+++ b/mode.py	Sun Sep 04 16:37:37 2011 +0200
@@ -9,7 +9,7 @@
 	
 	def _pump(self):
 		if self.current_mode:
-			self.current_mode.pump(self.engine.getTimeManager().getTimeDelta() / 1000.0)
+			self.current_mode.pump(self.current_mode.engine.getTimeManager().getTimeDelta() / 1000.0)
 	
 class FifeMode(BaseMode):