# HG changeset patch # User Simon Cross # Date 1252082100 0 # Node ID c0cad267222bf005be9f44ff815115d0363d654c # Parent e2b5262c2b11fe72903936b5d33ab385a9e92d6d Fix typo in reference to MainMenuState. diff -r e2b5262c2b11 -r c0cad267222b gamelib/engine.py --- a/gamelib/engine.py Fri Sep 04 15:00:54 2009 +0000 +++ b/gamelib/engine.py Fri Sep 04 16:35:00 2009 +0000 @@ -84,7 +84,7 @@ def event(self, e): if e.type is KEYDOWN and e.key == K_ESCAPE: - return MainMenu(self.game) + return MainMenuState(self.game) elif events_equal(e, GO_MAIN_MENU): return MainMenuState(self.game) elif e.type is not QUIT: