git
/
wowui.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
6a08107 - Make player and target frame always full opacity
[wowui.git]
/
OmaCD
/
Inspect.lua
diff --git
a/OmaCD/Inspect.lua
b/OmaCD/Inspect.lua
index
f1d2068
..
a37ed63
100644
(file)
--- a/
OmaCD/Inspect.lua
+++ b/
OmaCD/Inspect.lua
@@
-125,7
+125,7
@@
local function inspectReady(guid)
cached.wrist = GetInventoryItemID(id, INVSLOT_WRIST);
end
cached.spec = GetInspectSpecialization(id);
cached.wrist = GetInventoryItemID(id, INVSLOT_WRIST);
end
cached.spec = GetInspectSpecialization(id);
- local _, _, _, selected = GetTalentInfo(6,
2
, 1, true, id);
+ local _, _, _, selected = GetTalentInfo(6,
1
, 1, true, id);
cached.talent = selected;
end
if not inspectui then ClearInspectPlayer() end
cached.talent = selected;
end
if not inspectui then ClearInspectPlayer() end
@@
-172,9
+172,7
@@
local function create()
tick();
end
tick();
end
-frame:RegisterEvent("PLAYER_LOGIN");
frame:SetScript("OnEvent", function(self, event)
frame:SetScript("OnEvent", function(self, event)
- if event == "PLAYER_LOGIN" then
- return create();
- end
+ return create();
end);
end);
+frame:RegisterEvent("PLAYER_LOGIN");