Mercurial > wow > buffalo2
comparison ObjectiveTracker/ObjectiveTracker.lua @ 47:1a322b92dbfa
file cleanup
| author | Nenue |
|---|---|
| date | Thu, 28 Apr 2016 05:54:21 -0400 |
| parents | dd1ae565f559 |
| children | ed74c5cabe98 |
comparison
equal
deleted
inserted
replaced
| 46:aa693607b813 | 47:1a322b92dbfa |
|---|---|
| 513 end | 513 end |
| 514 end | 514 end |
| 515 end | 515 end |
| 516 | 516 |
| 517 | 517 |
| 518 local weekDays = {'Su', 'M', 'T', 'W', 'R' ,'F', 'Sa'} | |
| 519 Wrapper.Clock:SetScript('OnUpdate', function(self) | |
| 520 local weekday, month, day, year = CalendarGetDate() | |
| 521 local hour, min = GetGameTime() | |
| 522 self.time:SetFormattedText("%s.%s.%s %d:%02d", weekDays[weekday], month, day, hour, min) | |
| 523 end) | |
| 524 | 518 |
| 525 ObjectiveTrackerFrame:UnregisterAllEvents() | 519 ObjectiveTrackerFrame:UnregisterAllEvents() |
| 526 ObjectiveTrackerFrame:Hide() | 520 ObjectiveTrackerFrame:Hide() |
| 527 _G.MinimapCluster:Hide() | 521 _G.MinimapCluster:Hide() |
| 528 | 522 |
