Mercurial > parpg-core
changeset 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 | 7c6e2e39b545 |
children | 4311a0a5378c |
files | src/parpg/mode.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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):