mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- Hide IceHUD when interacting with barber shops. (ticket #190)
This commit is contained in:
@ -374,7 +374,24 @@ IceHUD is not responsible for this countdown text and cannot control it. The 6.0
|
||||
end
|
||||
end,
|
||||
order = 34,
|
||||
}
|
||||
},
|
||||
|
||||
bHideInBarberShop = {
|
||||
type = 'toggle',
|
||||
name = L["Hide in barbershops"],
|
||||
desc = L["This will hide the entire mod when interacting with a barbershop."],
|
||||
width = 'double',
|
||||
get = function()
|
||||
return IceHUD.IceCore.settings.bHideInBarberShop
|
||||
end,
|
||||
set = function(info, value)
|
||||
IceHUD.IceCore.settings.bHideInBarberShop = value
|
||||
if not value then
|
||||
IceHUD.IceCore.IceHUDFrame:Show()
|
||||
end
|
||||
end,
|
||||
order = 35,
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user