From 3a6cfe786a9e78188923849e3f65e2218b1af80c Mon Sep 17 00:00:00 2001 From: untodesu Date: Sat, 15 Mar 2025 17:12:47 +0500 Subject: Hard-code DEBUG_KEY and make it un-bindable --- game/client/toggles.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'game/client/toggles.cc') diff --git a/game/client/toggles.cc b/game/client/toggles.cc index 7d51832..7e20875 100644 --- a/game/client/toggles.cc +++ b/game/client/toggles.cc @@ -4,6 +4,7 @@ #include "core/config.hh" #include "client/chat.hh" +#include "client/const.hh" #include "client/gamepad.hh" #include "client/glfw.hh" #include "client/globals.hh" @@ -51,7 +52,7 @@ static void on_glfw_key(const GlfwKeyEvent &event) return; } - if(event.key == GLFW_KEY_F3) { + if(event.key == DEBUG_KEY) { if(event.action == GLFW_PRESS) { toggles::is_sequence_await = true; return; -- cgit