Mercurial > wow > buffalo2
comparison ObjectiveTracker/Events.lua @ 31:48b3e3959a0a
- clean up method arguments
| author | Nenue |
|---|---|
| date | Thu, 14 Apr 2016 19:39:05 -0400 |
| parents | c33c17dd97e7 |
| children | 9856ebc63fa4 |
comparison
equal
deleted
inserted
replaced
| 30:7583684becf4 | 31:48b3e3959a0a |
|---|---|
| 27 | 27 |
| 28 -- remove if they still match | 28 -- remove if they still match |
| 29 if Quest.WatchInfo[info.watchIndex] == info then | 29 if Quest.WatchInfo[info.watchIndex] == info then |
| 30 print('cleaning dead WatchInfo entry') | 30 print('cleaning dead WatchInfo entry') |
| 31 Quest.WatchInfo[info.watchIndex] = nil | 31 Quest.WatchInfo[info.watchIndex] = nil |
| 32 end | |
| 33 if Quest.itemButtons[info.questID] then | |
| 34 -- hide for now, it will get cleaned up shortly | |
| 35 Quest.itemButtons[info.questID]:Hide() | |
| 32 end | 36 end |
| 33 | 37 |
| 34 T:Update(OBJECTIVE_TRACKER_UPDATE_MODULE_QUEST) | 38 T:Update(OBJECTIVE_TRACKER_UPDATE_MODULE_QUEST) |
| 35 end | 39 end |
| 36 | 40 |
