1 Commits
v2 ... master

Author SHA1 Message Date
Paul Liverman III
b433ddc889 slight improvement 2017-07-26 23:25:45 -07:00

View File

@@ -221,7 +221,11 @@ end
function piefiller:getText(v)
if self.small then
return tostring(math.ceil(v.prc)).."% "..tostring(v.src)..":"..tostring(v.def)
if v.src:sub(1,1) == "@" then
return tostring(math.ceil(v.prc)).."% "..tostring(v.src:sub(2))..":"..tostring(v.def)
else
return tostring(math.ceil(v.prc)).."% "..tostring(v.src)..":"..tostring(v.def)
end
else
if v.src:sub(1,1) == "@" then
return tostring(math.ceil(v.prc)).."% "..tostring(v.name)..tostring(v.src)..":"..tostring(v.def)