mirror of
https://github.com/LDDestroier/CC/
synced 2024-06-26 07:03:18 +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
|
local mevt
|
||||||
repeat
|
repeat
|
||||||
mevt = {os.pullEvent()}
|
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
|
if not (mevt[1] == "key" and mevt[2] == keys.x) then
|
||||||
local x, y = mevt[3]+paint.scrollX, mevt[4]+paint.scrollY
|
local x, y = mevt[3]+paint.scrollX, mevt[4]+paint.scrollY
|
||||||
if plc.renderBlittle then
|
if plc.renderBlittle then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user