changeset 177:62aed6388159

Fixed showing the console.
author Beliar
date Tue, 06 Mar 2012 15:15:18 +0100
parents 67d3f629658f
children c706963ed0c3
files gamescenecontroller.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gamescenecontroller.py	Mon Mar 05 20:17:34 2012 +0100
+++ b/gamescenecontroller.py	Tue Mar 06 15:15:18 2012 +0100
@@ -24,6 +24,7 @@
 
 from fife import fife
 from fife import extensions
+from fife.extensions import pychan
 
 from controllerbase import ControllerBase
 from parpg.gui.hud import Hud
@@ -163,7 +164,7 @@
             logger.info("PARPG: Saved: {0}".format(screenshot_file))
         if(key_val == key.F10):
             # F10 shows/hides the console
-            self.engine.getGuiManager().getConsole().toggleShowHide()
+            pychan.manager.hook.guimanager.getConsole().toggleShowHide()
         if(key_val == key.C):
             # C opens and closes the character screen.
             self.view.hud.toggleCharacterScreen()