From c0c5d57e10a97e4871bfcc648ddc1c097d5fe9f4 Mon Sep 17 00:00:00 2001 From: hugeblank Date: Tue, 8 May 2018 01:10:45 -0700 Subject: [PATCH] amend typo in keys.lua The most important commit that CC has ever seen. --- src/main/resources/assets/computercraft/lua/rom/apis/keys.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/assets/computercraft/lua/rom/apis/keys.lua b/src/main/resources/assets/computercraft/lua/rom/apis/keys.lua index 8b83425001..19035bb023 100644 --- a/src/main/resources/assets/computercraft/lua/rom/apis/keys.lua +++ b/src/main/resources/assets/computercraft/lua/rom/apis/keys.lua @@ -16,7 +16,7 @@ local tKeys = { "comma", "period", "slash", "rightShift","multiply", -- 51 "leftAlt", "space", "capsLock", "f1", "f2", -- 56 "f3", "f4", "f5", "f6", "f7", -- 61 - "f8", "f9", "f10", "numLock", "scollLock", -- 66 + "f8", "f9", "f10", "numLock", "scrollLock", -- 66 "numPad7", "numPad8", "numPad9", "numPadSubtract","numPad4", -- 71 "numPad5", "numPad6", "numPadAdd","numPad1", "numPad2", -- 76 "numPad3", "numPad0", "numPadDecimal",nil, nil, -- 81 @@ -53,6 +53,7 @@ for nKey, sKey in pairs( tKeys ) do keys[sKey] = nKey end keys["return"] = keys.enter +keys.scollLock = keys.scrollLock function getName( _nKey ) if type( _nKey ) ~= "number" then