Don't keep old keybinds around after rebinding

This commit is contained in:
Juhani Krekelä 2019-06-30 01:12:46 +03:00
parent bf1cdb59c3
commit 9534a0ab9c
1 changed files with 1 additions and 0 deletions

View File

@ -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