From 68dc4d74a2fbe70eb6273c27c0d5dc91b0d30636 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Thu, 30 Aug 2012 14:05:41 +0200 Subject: [PATCH] Use double underscore to avoid tainting blizzard --- Symbiotic.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Symbiotic.lua b/Symbiotic.lua index 4a477d5..6cf1234 100644 --- a/Symbiotic.lua +++ b/Symbiotic.lua @@ -47,10 +47,10 @@ local gainSpells = { } local function UpdateSymbiosis(self) - local _, unit = self:GetUnit() + local __, unit = self:GetUnit() if(unit) then if(IsShiftKeyDown()) then - local _, _, class = UnitClass(unit) + local __, __, class = UnitClass(unit) if(UnitIsPlayer(unit) and class ~= 11) then local spec = GetSpecialization() if(spec) then @@ -89,7 +89,7 @@ Handler:SetScript('OnEvent', function(self, event, GUID) local tooltip = GameTooltip if(not tooltip:IsShown()) then return end - local _, unit = tooltip:GetUnit() + local __, unit = tooltip:GetUnit() if(not unit) then return end if(event == 'INSPECT_READY' and UnitGUID(unit) == GUID) then @@ -99,7 +99,7 @@ Handler:SetScript('OnEvent', function(self, event, GUID) ShoppingTooltip2:SetPoint('BOTTOMRIGHT', ShoppingTooltip1, 'BOTTOMLEFT') ShoppingTooltip2:SetSpellByID(grantSpells[id]) - local _, spec, _, _, _, _, class = GetSpecializationInfoByID(id) + local __, spec, __, __, __, __, class = GetSpecializationInfoByID(id) local color = (CUSTOM_CLASS_COLORS or RAID_CLASS_COLORS) [class] ShoppingTooltip2TextRight1:SetText(spec) ShoppingTooltip2TextRight1:SetTextColor(color.r, color.g, color.b) -- 1.7.9.5