From 66478f8a1932410b6a9f8f4eb20e4290e8798639 Mon Sep 17 00:00:00 2001 From: Alar of Runetotem Date: Wed, 18 Jul 2018 12:25:18 +0200 Subject: [PATCH] TOC Bumped --- .../GarrisonCommander-Broker.toc | 2 +- GarrisonCommander-Broker/ldb.lua | 10 +++++----- GarrisonCommander.toc | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/GarrisonCommander-Broker/GarrisonCommander-Broker.toc b/GarrisonCommander-Broker/GarrisonCommander-Broker.toc index af24c07..9bf2f65 100644 --- a/GarrisonCommander-Broker/GarrisonCommander-Broker.toc +++ b/GarrisonCommander-Broker/GarrisonCommander-Broker.toc @@ -1,4 +1,4 @@ -## Interface: 70300 +## Interface: 80000 ## Title: GarrisonCommander-Broker ## Notes: Data-Broker for GarrisonCommander ## Notes-itIT: Data-Broker per GarrisonCommander diff --git a/GarrisonCommander-Broker/ldb.lua b/GarrisonCommander-Broker/ldb.lua index f258cad..f635f4f 100644 --- a/GarrisonCommander-Broker/ldb.lua +++ b/GarrisonCommander-Broker/ldb.lua @@ -192,7 +192,10 @@ end function addon:CheckDateReset() local oldToday=today local reset=GetQuestResetTime() - local weekday, month, day, year = CalendarGetDate() + local t= C_Calendar.GetDate() + local day=t.monthDay + local year=t.year + local month=t.month if (day <1 or reset<1) then self:ScheduleTimer("CheckDateReset",1) return day,reset @@ -212,14 +215,11 @@ function addon:CheckDateReset() today=yesterday end self:ScheduleTimer("CheckDateReset",60) ---@debug@ - if (false and today~=oldToday) then - self:Popup(format("o:%s y:%s t:%s r:%s [w:%s m:%s d:%s y:%s] ",oldToday,yesterday,today,reset,CalendarGetDate())) + if (today~=oldToday) then dataobj:Update() farmobj:Update() workobj:Update() end ---@end-debug@ end function addon:CountMissing() local tot=0 diff --git a/GarrisonCommander.toc b/GarrisonCommander.toc index 7b2a55e..62711fd 100644 --- a/GarrisonCommander.toc +++ b/GarrisonCommander.toc @@ -1,4 +1,4 @@ -## Interface: 70300 +## Interface: 80000 ## Title: GarrisonCommander ## Notes: Sending all follower to missions with just one click and more ## Notes-itIT: Invia tutti i seguaci in missione con un click e molto altro -- 1.7.9.5