mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
Remove ; and little fix to MiniWindow
This commit is contained in:
@@ -110,11 +110,13 @@ function UIMiniWindow:onSetup()
|
||||
|
||||
self.miniLoaded = true
|
||||
|
||||
if oldParent and oldParent:getClassName() == 'UIMiniWindowContainer' then
|
||||
oldParent:order()
|
||||
end
|
||||
if newParent and newParent:getClassName() == 'UIMiniWindowContainer' and newParent ~= oldParent then
|
||||
newParent:order()
|
||||
if self.save then
|
||||
if oldParent and oldParent:getClassName() == 'UIMiniWindowContainer' then
|
||||
oldParent:order()
|
||||
end
|
||||
if newParent and newParent:getClassName() == 'UIMiniWindowContainer' and newParent ~= oldParent then
|
||||
newParent:order()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user