changeset 180:c0cad267222b

Fix typo in reference to MainMenuState.
author Simon Cross <hodgestar@gmail.com>
date Fri, 04 Sep 2009 16:35:00 +0000
parents e2b5262c2b11
children 7e556ef40100
files gamelib/engine.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: