Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
somso2e committed Aug 26, 2022
1 parent a599a87 commit 47d9876
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,12 @@ void Game::Update() {
}
}
}
//else if(State_ GameState::mainme

if (State_ == GameState::CatchedHotkey) {
// check if the input hotkey hasnt been used before
InvalidCustomHotkey_ = false;
if (InputCustomHotkey_ != DisplayHotkeys_.at(HighlightedSettingsInd_).Value) {
for (const auto& hotkey : Settings::Hotkeys) {
for (const auto& hotkey : DisplayHotkeys_) {
if (hotkey.Value == InputCustomHotkey_) {
InvalidCustomHotkey_ = true;
State_ = GameState::EditingHotkey;
Expand Down

0 comments on commit 47d9876

Please sign in to comment.