Module:Face: Difference between revisions
From Elwiki
No edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
elseif data ~= "base" then | elseif data ~= "base" then | ||
local arr = split(data, "x"); | local arr = split(data, "x"); | ||
if not #arr then | |||
arr[1] = data | |||
end | |||
if string.len(pathIndex) == 1 then | |||
arr[1] = "0" .. data | |||
end | |||
pathIndex = arr[1] .. "LINE_" | pathIndex = arr[1] .. "LINE_" | ||
if string.find(pathIndex, "t") then | if string.find(pathIndex, "t") then |