diff --git a/parts/scenes/app_arithmetic.lua b/parts/scenes/app_arithmetic.lua index a2d7b3ab..1c6c1897 100644 --- a/parts/scenes/app_arithmetic.lua +++ b/parts/scenes/app_arithmetic.lua @@ -152,7 +152,7 @@ end function scene.keyDown(key,isRep) if isRep then return end if key:sub(1,2)=="kp"then key=key:sub(3)end - if #key==1 and("0123456789"):find(key)then + if #key==1 and("0123456789"):find(key,nil,true)then if #input<8 then input=input..key inputTime=1 diff --git a/parts/scenes/app_reflect.lua b/parts/scenes/app_reflect.lua index bd0a8c76..74d23924 100644 --- a/parts/scenes/app_reflect.lua +++ b/parts/scenes/app_reflect.lua @@ -29,7 +29,7 @@ function scene.keyDown(key,isRep) ct=60 end elseif state==2 and #key==1 then - key=("qapl"):find(key) + key=("qapl"):find(key,nil,true) if key then --BEAUTIFUL LOGIC BELOW: