Localize a few more globals after looking a GETGLOBAL grep pass.
This commit is contained in:
parent
2cc0892141
commit
3310c42362
1 changed files with 2 additions and 1 deletions
3
Omen.lua
3
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue