Changeset 483


Ignore:
Timestamp:
02/07/10 08:54:32 (10 years ago)
Author:
b0rland_parpg
Message:

Ticket #232: patch by B0rland
Fixed the weakref bug by removing extra calls to pychan initialization

Location:
trunk/game/scripts/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/gui/inventorygui.py

    r479 r483  
    3838                   Function that will toggle the state of the inventory button 
    3939           @return: None""" 
    40         pychan.init(engine, debug = True) 
    4140        self.engine = engine 
    4241        self.readyCallback = callbacks['refreshReadyImages'] 
  • trunk/game/scripts/gui/popups.py

    r479 r483  
    3333           @return: None""" 
    3434        self.engine = engine 
    35         pychan.init(self.engine, debug=True) 
    3635        self.container_gui = pychan.loadXML("gui/container_base.xml") 
    3736        self.container_gui.findChild(name="topWindow").title = title 
Note: See TracChangeset for help on using the changeset viewer.