Reduce variable usage in Frame:MakeTop fix

This commit is contained in:
Qais Patankar 2014-04-20 16:26:08 +01:00
parent 1642d10816
commit b564f42a83

View File

@ -767,7 +767,7 @@ function newobject:MakeTop()
local numbasechildren = #basechildren
-- check to see if the object's parent is not the base object
if loveframes.parent ~= loveframes.base then
if self.parent ~= loveframes.base then
local baseparent = self:GetBaseParent()
if baseparent.type == "frame" then
baseparent:MakeTop()