1
0
mirror of https://github.com/LDDestroier/CC/ synced 2025-10-31 07:22:59 +00:00

Update pain.lua

This commit is contained in:
LDDestroier
2019-10-15 03:32:59 -04:00
committed by GitHub
parent 4d8c07d6b9
commit f7d040e6aa

View File

@@ -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