真·修复手机点不了mod

This commit is contained in:
MrZ626
2020-11-21 22:32:29 +08:00
parent e72cd1751a
commit d023455f73

View File

@@ -39,16 +39,12 @@ function mouseMove.mod(x,y)
end
end
end
function mouseDown.mod(x,y,k)
if k==1 then
for _,M in next,MODOPT do
if(x-M.x)^2+(y-M.y)^2<1600 then
toggleMod(M)
break
end
function mouseDown.mod(x,y)
for _,M in next,MODOPT do
if(x-M.x)^2+(y-M.y)^2<1600 then
toggleMod(M)
break
end
elseif k==2 then
SCN.back()
end
end
function touchMove.mod(_,x,y)