from retail
This commit is contained in:
+14
-2
@@ -1469,7 +1469,7 @@ function Private.Modernize(data)
|
||||
migrateToTable(data.load, "itemequiped")
|
||||
end
|
||||
|
||||
--[[if data.internalVersion < 71 then
|
||||
if data.internalVersion < 71 then
|
||||
if data.regionType == 'icon' or data.regionType == 'aurabar'
|
||||
or data.regionType == 'progresstexture'
|
||||
or data.regionType == 'stopmotion'
|
||||
@@ -1490,7 +1490,19 @@ function Private.Modernize(data)
|
||||
end
|
||||
end
|
||||
|
||||
end]]
|
||||
end
|
||||
|
||||
if data.internalVersion < 73 then
|
||||
if data.conditions then
|
||||
for conditionIndex, condition in ipairs(data.conditions) do
|
||||
for changeIndex, change in ipairs(condition.changes) do
|
||||
if type(change.property) == "string" then
|
||||
change.property = string.gsub(change.property, "(sub.%d.tick_placement)(%d)", "%1s.%2")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
data.internalVersion = max(data.internalVersion or 0, WeakAuras.InternalVersion())
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user