Update TOC for 12.1. Handle secret values in one of the places they might exist.
This commit is contained in:
parent
4b1a1af6b3
commit
9c0705f2d3
@ -495,6 +495,7 @@ function TI_HandleGossipWindow(gorq)
|
|||||||
|
|
||||||
|
|
||||||
local npcname = UnitName("npc");
|
local npcname = UnitName("npc");
|
||||||
|
if not issecretvalue(npcname) then
|
||||||
TI_AddNPCToTempList(npcname, ListEntry);
|
TI_AddNPCToTempList(npcname, ListEntry);
|
||||||
|
|
||||||
if(TI_status.autoadd and (not TI_NPCDB[npcname])) then
|
if(TI_status.autoadd and (not TI_NPCDB[npcname])) then
|
||||||
@ -573,6 +574,8 @@ function TI_HandleGossipWindow(gorq)
|
|||||||
else
|
else
|
||||||
TI_debug("npc not in list");
|
TI_debug("npc not in list");
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
if(TI_status.usedefault == false) then
|
if(TI_status.usedefault == false) then
|
||||||
TI_debug("npc not in list, default set to off, returning.");
|
TI_debug("npc not in list, default set to off, returning.");
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
## Interface: 120000, 120001, 50503, 40402, 30405, 20505, 11508
|
## Interface: 120100, 120000, 120001, 50503, 40402, 30405, 20505, 11508
|
||||||
## X-Compatible-With: 120000, 120001, 50503, 40402, 30405, 20505, 11508
|
## X-Compatible-With: 120100, 120000, 120001, 50503, 40402, 30405, 20505, 11508
|
||||||
## Title: Turn In
|
## Title: Turn In
|
||||||
## Notes: Automates the selection of quest and gossip options.
|
## Notes: Automates the selection of quest and gossip options.
|
||||||
## SavedVariables: TI_status, TI_NPCDB, TI_NPCIndex
|
## SavedVariables: TI_status, TI_NPCDB, TI_NPCIndex
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user