Mercurial > wow > cyborg-mmo7
comparison WowObjects.lua @ 50:7cbd32de1fdd
Fixed activation of equipment sets.
| author | madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 |
|---|---|
| date | Fri, 03 May 2013 23:23:58 +0000 |
| parents | 1a29be548897 |
| children | 8b8b0bade520 |
comparison
equal
deleted
inserted
replaced
| 49:3b1f85a1cbb1 | 50:7cbd32de1fdd |
|---|---|
| 296 | 296 |
| 297 function WowEquipmentSet_methods:Pickup() | 297 function WowEquipmentSet_methods:Pickup() |
| 298 -- PlaySound("igAbilityIconDrop") | 298 -- PlaySound("igAbilityIconDrop") |
| 299 ClearCursor() | 299 ClearCursor() |
| 300 -- SetCursor(self.texture) | 300 -- SetCursor(self.texture) |
| 301 return PickupEquipmentSetByName(self.Name) | 301 return PickupEquipmentSetByName(self.name) |
| 302 end | 302 end |
| 303 | 303 |
| 304 function WowEquipmentSet_methods:SetBinding(key) | 304 function WowEquipmentSet_methods:SetBinding(key) |
| 305 local buttonFrame,parentFrame,name = CyborgMMO_CallbackFactory:AddCallback(function() self:DoAction() end) | 305 local buttonFrame,parentFrame,name = CyborgMMO_CallbackFactory:AddCallback(function() self:DoAction() end) |
| 306 SetOverrideBindingClick(parentFrame, true, key, name, "LeftButton") | 306 SetOverrideBindingClick(parentFrame, true, key, name, "LeftButton") |
