Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sean Anderson / Shrom
ElvUI
Commits
a7fd5bd2
Commit
a7fd5bd2
authored
Oct 13, 2020
by
Simpy
🐹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
time dt fix, was showing pvp stuff when there wasnt any info
parent
1397333e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
ElvUI/Modules/DataTexts/Time.lua
ElvUI/Modules/DataTexts/Time.lua
+11
-8
No files found.
ElvUI/Modules/DataTexts/Time.lua
View file @
a7fd5bd2
...
...
@@ -167,18 +167,21 @@ local function OnEnter()
for
i
=
1
,
GetNumWorldPVPAreas
()
do
local
_
,
localizedName
,
isActive
,
_
,
startTime
,
canEnter
=
GetWorldPVPAreaInfo
(
i
)
if
canEnter
then
if
not
addedHeader
then
DT
.
tooltip
:
AddLine
(
VOICE_CHAT_BATTLEGROUND
)
addedHeader
=
true
end
if
isActive
then
startTime
=
WINTERGRASP_IN_PROGRESS
elseif
startTime
==
nil
then
elseif
not
startTime
then
startTime
=
QUEUE_TIME_UNAVAILABLE
else
else
if
startTime
~=
0
then
startTime
=
SecondsToTime
(
startTime
,
false
,
nil
,
3
)
end
if
canEnter
and
startTime
~=
0
then
if
not
addedHeader
then
DT
.
tooltip
:
AddLine
(
VOICE_CHAT_BATTLEGROUND
)
addedHeader
=
true
end
DT
.
tooltip
:
AddDoubleLine
(
format
(
formatBattleGroundInfo
,
localizedName
),
startTime
,
1
,
1
,
1
,
lockoutColorNormal
.
r
,
lockoutColorNormal
.
g
,
lockoutColorNormal
.
b
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment