[problem] bonus window

05/19/2013 22:38 Casawirek#1
Hi, i added bonus window under button which is in inventory , and ive got a little problem now. When i logout with opened bonus window it doesnt close yet.How can i fix it?
05/19/2013 22:42 [SA]Tears aka.[BlackBite]#2
add a command which close the window if you logout^^
05/20/2013 00:07 Casawirek#3
Not rly? xD i know but i dont know this command. and i cannot find this.

this is how "destroy looks"
Code:
	def Destroy(self):
		if uiBonusPage.isLoaded == 1:
			uiBonusPage.isLoaded = 0
		self.Board.Hide()
		self.Board = None
		self.ClearDictionary()
		return TRUE
05/20/2013 12:09 [SA]Tears aka.[BlackBite]#4
ehm sry with pythoni can not work sooo good but look at the game.py there must be a command which hide alle if you logout and use this command in your bonus board