From 19f2dd4e3851092ab13afb2545ffc6377750f116 Mon Sep 17 00:00:00 2001 From: Alan Aguiar Date: Fri, 05 Apr 2013 07:40:05 +0000 Subject: minor fix in hallstate --- (limited to 'src/game/HallState.py') diff --git a/src/game/HallState.py b/src/game/HallState.py index 6da7340..02dc684 100644 --- a/src/game/HallState.py +++ b/src/game/HallState.py @@ -117,6 +117,8 @@ class CHallState(CGameState): # print "CMenuState render" def destroy(self): + CGame().removeChild(self.mText) + self.mText = None CGameState.destroy(self) CGame().removeChild(self.mButtonBack) self.mButtonBack = None @@ -129,4 +131,4 @@ class CHallState(CGameState): self.mBackground = None def doEvents(self, aEvent): - print aEvent.type \ No newline at end of file + print aEvent.type -- cgit v0.9.1