.
This commit is contained in:
parent
b9553ed5c3
commit
f95dee3521
@ -47,8 +47,8 @@ for k,v in pairs(lines) do
|
|||||||
yStart = string.find(v, "y=\"")
|
yStart = string.find(v, "y=\"")
|
||||||
yEnd = string.find(v, "\" st")
|
yEnd = string.find(v, "\" st")
|
||||||
|
|
||||||
xStr = string.sub(v, xStart, xEnd)
|
xStr = string.sub(v, xStart+3, xEnd-1)
|
||||||
yStr = string.sub(v, yStart, yEnd)
|
yStr = string.sub(v, yStart+3, yEnd-1)
|
||||||
|
|
||||||
x = tonumber(xStr)
|
x = tonumber(xStr)
|
||||||
y = tonumber(yStr)
|
y = tonumber(yStr)
|
||||||
|
Loading…
Reference in New Issue
Block a user