diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-10 14:43:07 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-10 14:43:07 +0100 |
commit | 938b6a7bb62459e8308320280d15ccaf1b8af0ac (patch) | |
tree | b7d6ae529a2df663c31c9e69f44a5c824b0c840a /game/hud/HudScript.cpp | |
parent | 52c838538d2271134a2c5a128074ea9c2ed1d4a3 (diff) |
adjsuted includes so that it has <> and not
Diffstat (limited to 'game/hud/HudScript.cpp')
-rw-r--r-- | game/hud/HudScript.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/game/hud/HudScript.cpp b/game/hud/HudScript.cpp index 3fb7a77..e4aeae7 100644 --- a/game/hud/HudScript.cpp +++ b/game/hud/HudScript.cpp @@ -3,6 +3,7 @@ #include "../Config.h" #include "../Events.h" +#include "api/KeyCodes.h" #include "menus/endgame/EndGameSubScript.h" #include <climits> @@ -37,7 +38,7 @@ void HudScript::init() { } bool HudScript::toggle_fps(crepe::KeyPressEvent ev) { - if (ev.key != Keycode::END) return false; + if (ev.key != Keycode::D1) return false; Text & txt_fps = this->get_components_by_name<Text>(HUD_FPS).front(); this->show_fps = !this->show_fps; if (this->show_fps) { |