projects
/
erdslangetjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb176b3
)
'Fix' crash bug on android
author
Neil
<neil@dip.sun.ac.za>
Fri, 19 Apr 2013 14:29:17 +0000
(16:29 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Fri, 19 Apr 2013 14:29:17 +0000
(16:29 +0200)
erdslangetjie/__main__.py
patch
|
blob
|
history
diff --git
a/erdslangetjie/__main__.py
b/erdslangetjie/__main__.py
index 362bded7dd84ffe240d2982c8e2ce918f839d0cd..885885ae7dfc4ba5e3eb78bbf03ae506b5ee17fe 100644
(file)
--- a/
erdslangetjie/__main__.py
+++ b/
erdslangetjie/__main__.py
@@
-162,7
+162,8
@@
class GameWindow(RelativeLayout):
self.add_widget(self.nemesis_tile)
def _closed(self):
- self.keyboard.unbind(on_key_down=self._on_key_down)
+ if platform() != 'android':
+ self.keyboard.unbind(on_key_down=self._on_key_down)
def _on_key_down(self, keyboard, keycode, text, modifiers):
direction = None