Inventory bonus

10/23/2015 16:03 greenhouse95#1
I'm trying to add the bonus window to the inventory. But everytime i add the bonus refreshing line the game crashes.
This is the line:
Quote:
##BonusPageDialog
def OnUpdate(self):
if self.isLoaded == 1:
self.__LoadRefreshBonus()
##BonusPageDialog
And this is my uiinventory.py without that line:

If anybody can help me, i'll be very greatful.