mirror of
https://github.com/LDDestroier/CC/
synced 2025-01-20 22:16:53 +00:00
Update pain.lua
This commit is contained in:
parent
4d8c07d6b9
commit
f7d040e6aa
2
pain.lua
2
pain.lua
@ -3344,7 +3344,7 @@ local getInput = function() --gotta catch them all
|
||||
local mevt
|
||||
repeat
|
||||
mevt = {os.pullEvent()}
|
||||
until (mevt[1] == "key" and mevt[2] == keys.x) or (mevt[2] == 1 and mevt[4] <= scr_y)
|
||||
until (mevt[1] == "key" and mevt[2] == keys.x) or (mevt[2] == 1 and (mevt[4] or math.huge) <= scr_y)
|
||||
if not (mevt[1] == "key" and mevt[2] == keys.x) then
|
||||
local x, y = mevt[3]+paint.scrollX, mevt[4]+paint.scrollY
|
||||
if plc.renderBlittle then
|
||||
|
Loading…
Reference in New Issue
Block a user