Call parent MT of Text
This commit is contained in:
parent
b5fd24740b
commit
a0a7c96093
@ -10,7 +10,7 @@ function TextProgress:setProgress(progress)
|
||||
end
|
||||
|
||||
function TextProgress:draw()
|
||||
getmetatable(getmetatable(self)).draw(self)
|
||||
getmetatable(getmetatable(getmetatable(self))).draw(self)
|
||||
local text = self:getText()
|
||||
if #text == 0 then
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user