More culling of WowVer checks

This commit is contained in:
Parnic
2022-09-18 08:52:52 -05:00
parent c804ba178b
commit d10586d477
9 changed files with 15 additions and 13 deletions

View File

@ -307,7 +307,7 @@ function IceCore.prototype:Enable(userToggle)
return
end
if IceHUD.IceCore.settings.bHideDuringShellGame and IceHUD:HasAnyDebuff("player", {271571}) and UnitInVehicle("player") then
if IceHUD.IceCore.settings.bHideDuringShellGame and IceHUD:HasAnyDebuff("player", {IceHUD.ShellGameSpellID}) and UnitInVehicle("player") then
self:RegisterEvent("UNIT_EXITED_VEHICLE")
self:Hide()
elseif C_Map then