Mercurial > wow > reagentmaker
diff 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 |
line wrap: on
line diff
--- a/CampFireButton.lua Thu Jun 02 23:07:49 2011 +0200 +++ b/CampFireButton.lua Fri Jun 03 12:24:04 2011 +0200 @@ -67,8 +67,10 @@ -- Hide button function A.HideCampFireBtn() - if btn then btn:Hide() end - btn:UnregisterAllEvents() + if btn then + btn:Hide() + btn:UnregisterAllEvents() + end end -- Show button if applicable