From 9933a135be14dd5d4bb1affd63e2bd8232aa11e8 Mon Sep 17 00:00:00 2001 From: Arcarox Date: Mon, 21 Jun 2021 00:42:41 +0200 Subject: [PATCH] Remove access to bindings --- game/src/menu/MenuLayoutManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/game/src/menu/MenuLayoutManager.cpp b/game/src/menu/MenuLayoutManager.cpp index 11dea16..f3d2d6d 100644 --- a/game/src/menu/MenuLayoutManager.cpp +++ b/game/src/menu/MenuLayoutManager.cpp @@ -230,6 +230,9 @@ glm::vec2 MenuLayoutManager::currentMapSize() void MenuLayoutManager::switchSettings(int id) { + if (id == 3 || id == 2) { + return; + } if (layoutID == id) return; layoutID = id;