# HG changeset patch # User Neil Muller # Date 1251932510 0 # Node ID dc4bb10cc54cb44a69307ddc90036f324e47a5f6 # Parent a7f24dcf9ecf49289041adbca5eb6a9a9dc02a41 Fix crash. diff -r a7f24dcf9ecf -r dc4bb10cc54c gamelib/engine.py --- a/gamelib/engine.py Wed Sep 02 22:57:26 2009 +0000 +++ b/gamelib/engine.py Wed Sep 02 23:01:50 2009 +0000 @@ -141,7 +141,6 @@ class GameOver(State): def init(self): """Setup everything""" - self.game.gameboard.tv.sun(True) self.game.generate_score() def event(self, e): diff -r a7f24dcf9ecf -r dc4bb10cc54c gamelib/mainmenu.py --- a/gamelib/mainmenu.py Wed Sep 02 22:57:26 2009 +0000 +++ b/gamelib/mainmenu.py Wed Sep 02 23:01:50 2009 +0000 @@ -8,7 +8,7 @@ def add_main_menu(app): """Add the main menu to the app""" - for widget in app._get_widgets(app): + for widget in app.widgets[:]: app.remove(widget) main_menu = MainMenu()