Version 2.6.1

This commit is contained in:
OTCv8
2021-01-18 00:46:05 +01:00
parent 8fa45f387d
commit b938520faf
100 changed files with 1812 additions and 4267 deletions

View File

@@ -139,7 +139,12 @@ function UIMiniWindow:setup()
local oldParent = self:getParent()
local settings = g_settings.getNode('MiniWindows')
local settings = {}
if g_settings.getNodeSize('MiniWindows') < 100 then
settings = g_settings.getNode('MiniWindows')
end
if settings then
local selfSettings = settings[self:getId()]
if selfSettings then
@@ -184,7 +189,7 @@ function UIMiniWindow:setup()
self.miniLoaded = true
if self.save then
if oldParent and oldParent:getClassName() == 'UIMiniWindowContainer' then
if oldParent and oldParent:getClassName() == 'UIMiniWindowContainer' and not self.containerWindow then
addEvent(function() oldParent:order() end)
end
if newParent and newParent:getClassName() == 'UIMiniWindowContainer' and newParent ~= oldParent then