- Custom Displays updated to track WoD potions.
- Added Feedback panel at options panel.
This commit is contained in:
+2
-26
@@ -313,36 +313,12 @@ function _G._detalhes:Start()
|
||||
_detalhes:AddDefaultCustomDisplays()
|
||||
|
||||
--> Reset for the new structure
|
||||
if (_detalhes_database.last_realversion and _detalhes_database.last_realversion < 43 and enable_reset_warning) then
|
||||
for i = 1, #_detalhes.custom do
|
||||
if (_detalhes_database.last_realversion and _detalhes_database.last_realversion < 47 and enable_reset_warning) then
|
||||
for i = #_detalhes.custom, 1, -1 do
|
||||
_detalhes.atributo_custom:RemoveCustom (i)
|
||||
end
|
||||
_detalhes:AddDefaultCustomDisplays()
|
||||
end
|
||||
|
||||
if (_detalhes_database.last_realversion and _detalhes_database.last_realversion < 20 and enable_reset_warning) then
|
||||
table.wipe (self.custom)
|
||||
_detalhes:AddDefaultCustomDisplays()
|
||||
end
|
||||
|
||||
if (_detalhes_database.last_realversion and _detalhes_database.last_realversion < 18 and enable_reset_warning) then
|
||||
|
||||
for index, instance in ipairs (_detalhes.tabela_instancias) do
|
||||
if (not instance.iniciada) then
|
||||
instance:RestauraJanela()
|
||||
local skin = instance.skin
|
||||
instance:ChangeSkin ("Default Skin")
|
||||
instance:ChangeSkin ("Minimalistic v2")
|
||||
instance:ChangeSkin (skin)
|
||||
instance:DesativarInstancia()
|
||||
else
|
||||
local skin = instance.skin
|
||||
instance:ChangeSkin ("Default Skin")
|
||||
instance:ChangeSkin ("Minimalistic v2")
|
||||
instance:ChangeSkin (skin)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user