From 281f2fb4b744292cf947b087ba675a498b68e522 Mon Sep 17 00:00:00 2001 From: yaroot Date: Thu, 25 Nov 2010 20:05:15 +0800 Subject: [PATCH] blah --- core.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core.lua b/core.lua index 6eb7fe5..7120297 100644 --- a/core.lua +++ b/core.lua @@ -1,9 +1,6 @@ local L = setmetatable({}, {__index=function(t, i) return i end}) local SATimer = LibStub('AceAddon-3.0'):NewAddon('SATimer') ---local L = setmetatable(GetLocale() == 'zhCN' and { ---} or GetLocale() == 'zhTW' and { ---}, {__index = function(t, i) return i end}) local db local defaults = { @@ -12,7 +9,6 @@ local defaults = { }, } - SATimer.all = {} SATimer.unused = {} SATimer.using = {} @@ -40,7 +36,6 @@ function SATimer:SPELL_ACTIVATION_OVERLAY_SHOW(spellID, texture, position, scale local endTime = self:GetTimeLeft(spellID) if(endTime) then - -- XXX if(not f) then f = self:GetUnused() self:SetUsing(f) @@ -79,6 +74,7 @@ do rawset(t, i, n) return n end}) + function SATimer:GetTimeLeft(spellID) local spell = _SPELLS[spellID] if(not spell) then return end -- 1.7.9.5