fix numpadenter on console (#469)

made numpadenter do the same thing as enter on console
This commit is contained in:
NOT_A_ROBOT
2021-11-18 18:04:51 +07:00
committed by MrZ626
parent f14aaac635
commit ff2073ed4d

View File

@@ -979,7 +979,7 @@ function scene.wheelMoved(_,y)
end end
function scene.keyDown(key) function scene.keyDown(key)
if key=="return"then if key=="return" or key=="kpenter"then
local input=STRING.trim(inputBox:getText()) local input=STRING.trim(inputBox:getText())
if input==""then return end if input==""then return end