This commit is contained in:
ocawesome101 2021-06-04 16:27:42 -04:00
parent 300e2d1190
commit 193afd3853

View File

@ -113,7 +113,7 @@ function computer.signalTransformers.key_down(s, a, ascii, key, user)
inesc = true inesc = true
return nil return nil
elseif inesc then elseif inesc then
if ascii < 48 and ascii > 57 and ascii ~= 59 then if ascii < 48 and ascii > 57 and ascii ~= 59 and ascii ~= 91 then
inesc = false inesc = false
key = escmap[ascii] or 0 key = escmap[ascii] or 0
ascii = 0 ascii = 0
@ -132,7 +132,7 @@ function computer.signalTransformers.key_up(s, a, ascii, key, user)
inesc = true inesc = true
return nil return nil
elseif inesc then elseif inesc then
if ascii < 48 and ascii > 57 and ascii ~= 59 then if ascii < 48 and ascii > 57 and ascii ~= 59 and ascii ~= 91 then
inesc = false inesc = false
key = escmap[ascii] or 0 key = escmap[ascii] or 0
ascii = 0 ascii = 0