change visibility driver to hide pet-bar when possessing, as blizzard doesn't give you a pet-bar either when in a vehicle, for example.
This commit is contained in:
@@ -323,8 +323,7 @@ end
|
||||
function Bar:ApplyVisibilityDriver()
|
||||
if self.unlocked then return end
|
||||
-- default state is shown
|
||||
self:RegisterVisibilityCondition("show")
|
||||
RegisterStateDriver(self, "visibility", table_concat(self.hidedriver, ";"))
|
||||
RegisterStateDriver(self, "visibility", table_concat(self.hidedriver, ";") .. ";show")
|
||||
end
|
||||
|
||||
function Bar:DisableVisibilityDriver()
|
||||
|
||||
Reference in New Issue
Block a user