From 104df1915d788ed1887dca1ab4f5e55b0001db1f Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Wed, 22 Sep 2021 08:02:15 +0200 Subject: [PATCH] UI: no longer close Clients on escape key press --- kvui.py | 1 + worlds/AutoWorld.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/kvui.py b/kvui.py index 5c2f60f7..8dd296e6 100644 --- a/kvui.py +++ b/kvui.py @@ -150,4 +150,5 @@ class KivyJSONtoTextParser(JSONtoTextParser): ExceptionManager.add_handler(E()) Config.set("input", "mouse", "mouse,disable_multitouch") +Config.set('kivy', 'exit_on_escape', '0') Builder.load_file(Utils.local_path("data", "client.kv")) diff --git a/worlds/AutoWorld.py b/worlds/AutoWorld.py index 694296f1..ed965b17 100644 --- a/worlds/AutoWorld.py +++ b/worlds/AutoWorld.py @@ -176,7 +176,7 @@ class World(metaclass=AutoWorldRegister): Warning: this may be called with self.world = None, for example by MultiServer""" raise NotImplementedError - # following methods should not need to be overriden. + # following methods should not need to be overridden. def collect(self, state: CollectionState, item: Item) -> bool: name = self.collect_item(state, item) if name: