From 3e7f3bf81ec545abf3fe2873bb00562aead82013 Mon Sep 17 00:00:00 2001 From: Flameshadowxeroshin Date: Sun, 4 Dec 2011 17:07:56 +0000 Subject: [PATCH] i am the king of stupid --- Themes/_fallback/Scripts/04 KeymapGuard.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Themes/_fallback/Scripts/04 KeymapGuard.lua b/Themes/_fallback/Scripts/04 KeymapGuard.lua index a5b820f42b..d4ecc14003 100644 --- a/Themes/_fallback/Scripts/04 KeymapGuard.lua +++ b/Themes/_fallback/Scripts/04 KeymapGuard.lua @@ -6,9 +6,9 @@ function ClearEnterMappedKeys() local keymaps = IniFile.ReadFile("/Save/Keymaps.ini") --iterate through the games -for k,v in keymaps do +for k,v in pairs(keymaps) do --iterate through the potential key mappings - for l,w in v do + for l,w in pairs(v) do --check for enter w:gsub("Key_enter","") --write back