From dca884ac4e118edce6d28ca589f645317509ba06 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 19 Apr 2013 16:29:17 +0200 Subject: [PATCH] 'Fix' crash bug on android --- erdslangetjie/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erdslangetjie/__main__.py b/erdslangetjie/__main__.py index 362bded..885885a 100644 --- 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 -- 2.34.1