From f4c08b88a53ef7b118a1c4be2500d5ee0a50d932 Mon Sep 17 00:00:00 2001 From: Alar of Daggerspine Date: Fri, 19 Jun 2015 19:16:56 +0200 Subject: [PATCH] Account for oil --- MissionControl.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MissionControl.lua b/MissionControl.lua index 9941d18..d6adb07 100644 --- a/MissionControl.lua +++ b/MissionControl.lua @@ -248,9 +248,9 @@ local tItems = { {t = 'Enable/Disable other rewards.', i = "Interface\\ICONS\\INV_Box_02", key = 'generic'} } if (ns.toc >=60200) then - tinsert(tItems,3,{t = 'Enable/Disable oil awards.', i= 'Interface\\Icons\\garrison_oil', key = 'oil'}) + tinsert(tItems,3,{t = 'Enable/Disable oil awards.', i='Interface\\Icons\\garrison_oil', key = 'oil'}) end -local tOrder={1,2,3,4,5,6,7} +local tOrder={1,2,3,4,5,6,7,8} local chestTexture local function drawItemButtons() local scale=1.1 @@ -259,6 +259,7 @@ local function drawItemButtons() local single=GMC.settings.useOneChance for j = 1, #tItems do local i=tOrder[j] + print(j,i) local frame = GMC.ignoreFrames[j] or CreateFrame('BUTTON', "Priority" .. j, GMC.aif, 'ItemButtonTemplate') GMC.ignoreFrames[j] = frame frame:SetID(i) -- 1.7.9.5