Don't keep old keybinds around after rebinding
This commit is contained in:
parent
bf1cdb59c3
commit
9534a0ab9c
|
@ -882,6 +882,7 @@ function love.keypressed(key)
|
|||
last_key_pressed = key
|
||||
|
||||
if key == control_keys.configure and game_mode == gamemodes.normal then
|
||||
direction_keys = {}
|
||||
game_mode = gamemodes.config
|
||||
configuration_step = configuration_steps.quit
|
||||
elseif key == control_keys.quit then
|
||||
|
|
Loading…
Reference in New Issue