From 154b61ac5ea03ca5a5a3db8922ae832a8a574933 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Mon, 7 Aug 2017 14:53:58 +0200 Subject: [PATCH] Singleplayer: Pause game in the key change dialog Fixes #6201. @t0ny2 pointed to the right place. Thanks! --- src/guiKeyChangeMenu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/guiKeyChangeMenu.h b/src/guiKeyChangeMenu.h index 74f9344a2..84d3fffcd 100644 --- a/src/guiKeyChangeMenu.h +++ b/src/guiKeyChangeMenu.h @@ -58,6 +58,8 @@ public: bool OnEvent(const SEvent &event); + bool pausesGame() { return true; } + private: void init_keys(); -- 2.25.1