diff --git a/gfx/element.lua b/gfx/element.lua index af8eb8f..2bf8a61 100644 --- a/gfx/element.lua +++ b/gfx/element.lua @@ -31,7 +31,7 @@ function Element:new(o) obj.__index = self if obj.render and obj.render.parent then - self:_reload() + obj:_reload() end return obj