Localize a few more globals after looking a GETGLOBAL grep pass.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user