Mercurial > parpg-core
diff src/parpg/mode.py @ 54:5e27c24acaef
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 | 8b3890f17f94 |
children | 96af64cf3b81 |
line wrap: on
line diff
--- a/src/parpg/mode.py Sun Sep 04 16:25:23 2011 +0200 +++ b/src/parpg/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):