From 9534a0ab9c033d55f5634177ce6ca1769a0de857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Sun, 30 Jun 2019 01:12:46 +0300 Subject: [PATCH] Don't keep old keybinds around after rebinding --- bundle/main.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/bundle/main.lua b/bundle/main.lua index d19a5e3..5f276ba 100644 --- a/bundle/main.lua +++ b/bundle/main.lua @@ -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