summaryrefslogtreecommitdiffstats
path: root/game/client/toggles.cc
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/toggles.cc')
-rw-r--r--game/client/toggles.cc3
1 files changed, 2 insertions, 1 deletions
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;