diff src/parpg/dialoguecontroller.py @ 30:94cb5843dcbb

Modifications to use the grease manager and modes
author KarstenBock@gmx.net
date Tue, 12 Jul 2011 12:31:53 +0200
parents 1fd2201f5c36
children 8b3890f17f94
line wrap: on
line diff
--- a/src/parpg/dialoguecontroller.py	Tue Jul 12 12:30:41 2011 +0200
+++ b/src/parpg/dialoguecontroller.py	Tue Jul 12 12:31:53 2011 +0200
@@ -51,9 +51,10 @@
             self.view.hud.enabled = False
 
             
-    def pump(self):
+    def pump(self, dt):
+        ControllerBase.pump(self, dt)
         if self.dialogue and not self.dialogue.active:
-            self.application.popController()
+            self.application.pop_mode()
             self.model.pause(False)
             self.view.hud.enabled = True