changeset 405:35680740f163

Pause the world when getting off.
author Jeremy Thurgood <firxen@gmail.com>
date Sat, 17 Sep 2011 13:39:15 +0200
parents 38f95fbc3710
children 962e77a153ce
files TODO.txt mamba/habitats/level.py
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/TODO.txt	Sat Sep 17 13:30:00 2011 +0200
+++ b/TODO.txt	Sat Sep 17 13:39:15 2011 +0200
@@ -14,7 +14,6 @@
 * Packaging
 * Test on Windows
 * Improve Arrow behavior when on arrow and arrow rotator button
-* why does my snake jump twice when I press escape to leave a level?
 * Sleep
 * When finishing a level, go to next instead of menu
 
--- a/mamba/habitats/level.py	Sat Sep 17 13:30:00 2011 +0200
+++ b/mamba/habitats/level.py	Sat Sep 17 13:39:15 2011 +0200
@@ -22,6 +22,7 @@
 
     def keydown_event(self, ev, widget):
         if ev.key in ESCAPE_KEYS:
+            self.world.pause()
             self.go_menu()
             return True