From 6de926da6d7cd4f1d42dd27c2cd2d31e0027abe8 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Wed, 28 Nov 2012 14:45:54 +0100 Subject: [PATCH] Revert "Use double underscore to avoid tainting blizzard" This reverts commit 68dc4d74a2fbe70eb6273c27c0d5dc91b0d30636. --- Symbiotic.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Symbiotic.lua b/Symbiotic.lua index 6cf1234..4a477d5 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