diff gamelib/engine.py @ 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 d63951985313
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: