真·修复手机点不了mod
This commit is contained in:
@@ -39,16 +39,12 @@ function mouseMove.mod(x,y)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
function mouseDown.mod(x,y,k)
|
function mouseDown.mod(x,y)
|
||||||
if k==1 then
|
for _,M in next,MODOPT do
|
||||||
for _,M in next,MODOPT do
|
if(x-M.x)^2+(y-M.y)^2<1600 then
|
||||||
if(x-M.x)^2+(y-M.y)^2<1600 then
|
toggleMod(M)
|
||||||
toggleMod(M)
|
break
|
||||||
break
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
elseif k==2 then
|
|
||||||
SCN.back()
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
function touchMove.mod(_,x,y)
|
function touchMove.mod(_,x,y)
|
||||||
|
|||||||
Reference in New Issue
Block a user