Mercurial > wow > reagentmaker
comparison CampFireButton.lua @ 113:c79ab5443ee5 v1.1beta1
Corrected the lua error when entering combat
author | contrebasse |
---|---|
date | Fri, 03 Jun 2011 12:24:04 +0200 |
parents | af23986010ef |
children |
comparison
equal
deleted
inserted
replaced
112:69300309ac21 | 113:c79ab5443ee5 |
---|---|
65 end) | 65 end) |
66 end | 66 end |
67 | 67 |
68 -- Hide button | 68 -- Hide button |
69 function A.HideCampFireBtn() | 69 function A.HideCampFireBtn() |
70 if btn then btn:Hide() end | 70 if btn then |
71 btn:UnregisterAllEvents() | 71 btn:Hide() |
72 btn:UnregisterAllEvents() | |
73 end | |
72 end | 74 end |
73 | 75 |
74 -- Show button if applicable | 76 -- Show button if applicable |
75 function A.ManageCampFireBtn() | 77 function A.ManageCampFireBtn() |
76 -- Display only if the tradeskill is Cooking | 78 -- Display only if the tradeskill is Cooking |