<br><br><div class="gmail_quote">On Thu, May 31, 2012 at 6:36 PM, Manuel Kaufmann <span dir="ltr"><<a href="mailto:humitos@gmail.com" target="_blank">humitos@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

This is an old pygame behavior that we don't need in Sugar.<br>
<br>
Signed-off-by: Manuel Kaufmann <<a href="mailto:humitos@gmail.com">humitos@gmail.com</a>><br>
---<br>
 game.py |    4 +---<br>
 1 file changed, 1 insertion(+), 3 deletions(-)<br>
<br>
diff --git a/game.py b/game.py<br>
index 85f6d7f..4f904d5 100644<br>
--- a/game.py<br>
+++ b/game.py<br>
@@ -175,9 +175,7 @@ class MazeGame:<br>
         if event.type == pygame.QUIT:<br>
             self.running = False<br>
         elif event.type == pygame.KEYDOWN:<br>
-            if event.key == pygame.K_ESCAPE:<br>
-                self.running = False<br>
-            elif event.key in (pygame.K_PLUS, pygame.K_EQUALS):<br>
+            if event.key in (pygame.K_PLUS, pygame.K_EQUALS):<br>
                 self.harder()<br>
             elif event.key == pygame.K_MINUS:<br>
                 self.easier()<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.10<br></font></span></blockquote><div><br></div><div>Thanks,</div><div><br></div><div>Applied as </div><div><a href="http://git.sugarlabs.org/maze/mainline/commit/05cf8d1e113c8c6f84809ebd41562b58261450de">http://git.sugarlabs.org/maze/mainline/commit/05cf8d1e113c8c6f84809ebd41562b58261450de</a></div>

<div><br></div><div>Will be in next version.</div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</font></span></blockquote></div><br>