# HG changeset patch # User vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1275532569 0 # Node ID c9bdf145069fe29b721305acd88b132cfea3abb0 # Parent cb7ec12214a9d635ec82a4404d7fecbb4bcf13b0 credits screen now comes up properly when you click on the credits button. diff -r cb7ec12214a9 -r c9bdf145069f demos/rpg/scripts/guicontroller.py --- a/demos/rpg/scripts/guicontroller.py Wed Jun 02 21:43:03 2010 +0000 +++ b/demos/rpg/scripts/guicontroller.py Thu Jun 03 02:36:09 2010 +0000 @@ -64,7 +64,7 @@ self._widget.mapEvents(eventMap) class Credits(Window): - def __init__(self, guicontroller): + def __init__(self, gamecontroller): super(Credits, self).__init__(gamecontroller) self._widget = pychan.loadXML('gui/credits.xml') @@ -125,7 +125,7 @@ if self._credits: self._credits.widget.show() else: - self._credits = Credits(self) + self._credits = Credits(self._gamecontroller) self._credits.widget.show() def hideCredits(self):