From 3310c42362b712a0e997ac35d3fd38cf5bfc406a Mon Sep 17 00:00:00 2001 From: Xinhuan Date: Tue, 4 Nov 2008 08:15:43 +0800 Subject: [PATCH] Localize a few more globals after looking a GETGLOBAL grep pass. --- Omen.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Omen.lua b/Omen.lua index 5472f7b..60103c5 100644 --- a/Omen.lua +++ b/Omen.lua @@ -53,8 +53,9 @@ LSM:Register("sound", "Omen: Aoogah!", [[Interface\AddOns\Omen\aoogah.ogg]]) ----------------------------------------------------------------------------- -- Localize some global functions -local floor, format = floor, format +local floor, format, random, pairs, type = floor, format, random, pairs, type local tinsert, tremove, next, sort, wipe = tinsert, tremove, next, sort, wipe +local RAID_CLASS_COLORS = RAID_CLASS_COLORS local UnitDetailedThreatSituation = UnitDetailedThreatSituation local UnitExists, UnitGUID, UnitName, UnitClass, UnitHealth = UnitExists, UnitGUID, UnitName, UnitClass, UnitHealth local UnitIsPlayer, UnitPlayerControlled, UnitCanAttack = UnitIsPlayer, UnitPlayerControlled, UnitCanAttack