from retail

This commit is contained in:
NoM0Re
2025-02-18 17:13:03 +01:00
parent 03e9b0f102
commit 6714432be6
8 changed files with 31 additions and 6 deletions
@@ -1151,6 +1151,15 @@ function Private.regionPrototype.AddExpandFunction(data, region, cloneId, parent
end
end
function Private.SetTextureOrSpellTexture(texture, path)
local spellID = tonumber(path)
if spellID then
return texture:SetTexture(select(3, GetSpellInfo(spellID)) or spellID)
else
return texture:SetTexture(path)
end
end
do
local function move_condition_subregions(data, offset, afterPos)
if data.conditions then