Skip to content

Commit

Permalink
Forbid ESC assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Olzaq committed Oct 25, 2016
1 parent 085a90d commit e84a40c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/Config.cpp
Expand Up @@ -344,6 +344,9 @@ void Config::setActionKey(ControlAction actionId, size_t index, InputKeyId key)
return;
}

if (key == Keyboard::Key_Escape)
return;

// remove existing key assignments
for(size_t i = 0; i < NUM_ACTION_KEY; i++) {
for(int k = 0; k < 2; k++) {
Expand Down

0 comments on commit e84a40c

Please sign in to comment.