Mercurial > wow > buffalo2
comparison ObjectiveTracker/AutoQuestPopups.lua @ 31:48b3e3959a0a
- clean up method arguments
| author | Nenue |
|---|---|
| date | Thu, 14 Apr 2016 19:39:05 -0400 |
| parents | 7583684becf4 |
| children | 9856ebc63fa4 |
comparison
equal
deleted
inserted
replaced
| 30:7583684becf4 | 31:48b3e3959a0a |
|---|---|
| 47 if block.info.type == 'OFFER' then | 47 if block.info.type == 'OFFER' then |
| 48 block.status:SetText(T.strings.CLICK_TO_ACCEPT) | 48 block.status:SetText(T.strings.CLICK_TO_ACCEPT) |
| 49 end | 49 end |
| 50 end | 50 end |
| 51 | 51 |
| 52 AutoQuest.Select = function(self) | 52 AutoQuest.Select = function(handler, block) |
| 53 | 53 |
| 54 if self.info.popupType == 'OFFER' then | 54 if block.info.popupType == 'OFFER' then |
| 55 ShowQuestOffer(self.info.questIndex) | 55 ShowQuestOffer(block.info.questLogIndex) |
| 56 else | 56 else |
| 57 ShowQuestComplete(self.info.questIndex) | 57 ShowQuestComplete(block.info.questLogIndex) |
| 58 end | 58 end |
| 59 RemoveAutoQuestPopUp(self.info.questID) | 59 RemoveAutoQuestPopUp(block.info.questID) |
| 60 end | 60 end |
| 61 | 61 |
| 62 AutoQuest.Link = T.Quest.Link | 62 AutoQuest.Link = T.Quest.Link |
