Skip to content

Commit

Permalink
Loader: Show a temporary message about nameplates
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Sep 22, 2024
1 parent 1fea2a7 commit 5713679
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ files["**/Init_Vanilla.lua"].ignore = {
"113/C_Seasons",
}
files["**/Loader.lua"].ignore = {
"11[13]/BigWigsTempNameplates", -- XXX temp

"113/date",
"113/geterrorhandler",

Expand Down
2 changes: 1 addition & 1 deletion BigWigs.toc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
## X-Wago-ID: 5NRegwG3

## OptionalDeps: Ace3, LibCandyBar-3.0, LibSharedMedia-3.0, LibSink-2.0, LibDBIcon-1.0, LibDDI-1.0, LibSpecialization, LibChatAnims, LibDualSpec-1.0, LibCustomGlow-1.0
## SavedVariables: BigWigs3DB, BigWigsIconDB, BigWigsStatsDB
## SavedVariables: BigWigs3DB, BigWigsIconDB, BigWigsStatsDB, BigWigsTempNameplates

embeds.xml
Init.lua
Expand Down
6 changes: 6 additions & 0 deletions Loader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1735,6 +1735,12 @@ do
if type(zoneAddon) == "table" then
-- default to the expansion addon for current season modules
zoneAddon = zoneAddon[1]
if not BigWigsTempNameplates then
BigWigsTempNameplates = true
CTimerAfter(1, function() sysprint(L.tempNPMsg) end)
RaidNotice_AddMessage(RaidWarningFrame, "BigWigs: ".. L.tempNPMsg, {r=1,g=1,b=1}, 10)
Popup("BigWigs: ".. L.tempNPMsg)
end
end
if zoneAddon and id > 0 and not fakeZones[id] and not warnedThisZone[id] then
if public.usingBigWigsRepo and public.currentExpansion.bigWigsBundled[zoneAddon] then return end -- If we are a BW Git user, then bundled content can't be missing, so return
Expand Down

0 comments on commit 5713679

Please sign in to comment.