diff options
author | Alan Aguiar <alanjas@hotmail.com> | 2013-04-05 07:40:05 (GMT) |
---|---|---|
committer | Alan Aguiar <alanjas@hotmail.com> | 2013-04-05 07:40:05 (GMT) |
commit | 19f2dd4e3851092ab13afb2545ffc6377750f116 (patch) | |
tree | 30433185b932ba8518d773fdf4da60ec7eba07ed /src/game/HallState.py | |
parent | ca04bb32a72acfb01f42838409e23b5678db9752 (diff) |
minor fix in hallstate
Diffstat (limited to 'src/game/HallState.py')
-rw-r--r-- | src/game/HallState.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 |