Reenabled OHC warning for the new version
Alar of Runetotem [01-22-17 - 22:53]
Reenabled OHC warning for the new version
diff --git a/OrderHall.lua b/OrderHall.lua
index b536d30..a69ed8e 100644
--- a/OrderHall.lua
+++ b/OrderHall.lua
@@ -33,7 +33,7 @@ function module:OnInitialize(...)
if not ns.GHF then return end -- Waiting to be late initialized by init routine
OHFFollowerTab=OrderHallMissionFrame.FollowerTab -- Contains model view
if GetAddOnEnableState(UnitName("player"),"OrderHallCommander") > 0 then
- ns.ingnoreHall=true
+ ns.ignoreHall=true
self:Print("Delegating hall management to OrderHallCommander")
return
else
diff --git a/OrderHallCommander/missionlist.lua b/OrderHallCommander/missionlist.lua
index 632b3c5..4819868 100644
--- a/OrderHallCommander/missionlist.lua
+++ b/OrderHallCommander/missionlist.lua
@@ -263,8 +263,8 @@ end
function module:InitialSetup(this)
if type(addon.db.global.warn01_seen)~="number" then addon.db.global.warn01_seen =0 end
if GetAddOnEnableState(UnitName("player"),"GarrisonCommander") > 0 then
- if addon.db.global.warn01_seen < 3 then
- addon.db.global.warn01_seen=addon.db.global.warn01_seen+1
+ if addon.db.global.warn02_seen < 3 then
+ addon.db.global.warn02_seen=addon.db.global.warn02_seen+1
addon:Popup(L["OrderHallCommander overrides GarrisonCommander for Order Hall Management.\n You can revert to GarrisonCommander simply disabling OrderhallCommander.\nIf instead you like OrderHallCommander remember to add it to Curse client and keep it updated"],20)
end
end