Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ElvUI Project
ElvUI
Commits
5426464d
Commit
5426464d
authored
Oct 17, 2018
by
Simpy
🐹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
go back to 30 second delay
parent
efa5e6bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ElvUI/Libraries/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.lua
ElvUI/Libraries/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.lua
+3
-3
ElvUI/core/core.lua
ElvUI/core/core.lua
+2
-2
No files found.
ElvUI/Libraries/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.lua
View file @
5426464d
...
...
@@ -105,7 +105,7 @@ local function SendVersionCheckMessage()
lib
:
SendPluginVersionCheck
(
lib
:
GenerateVersionCheckMessage
())
end
function
lib
:
DelayedSendVersionCheck
()
function
lib
:
DelayedSendVersionCheck
(
delay
)
local
E
=
ElvUI
[
1
]
if
not
E
.
SendPluginVersionCheck
then
...
...
@@ -113,7 +113,7 @@ function lib:DelayedSendVersionCheck()
end
if
not
lib
.
SendMessageWaiting
then
lib
.
SendMessageWaiting
=
E
:
Delay
(
10
,
ElvUI
[
1
].
SendPluginVersionCheck
)
lib
.
SendMessageWaiting
=
E
:
Delay
(
delay
or
10
,
ElvUI
[
1
].
SendPluginVersionCheck
)
end
end
...
...
@@ -192,7 +192,7 @@ function lib:VersionCheck(event, prefix, message, _, sender)
lib
.
groupSize
=
num
end
elseif
event
==
'LOADING_SCREEN_DISABLED'
then
lib
:
DelayedSendVersionCheck
(
)
lib
:
DelayedSendVersionCheck
(
35
)
-- 35 seconds is same as core send version check time
end
end
...
...
ElvUI/core/core.lua
View file @
5426464d
...
...
@@ -962,7 +962,7 @@ local function SendRecieve(_, event, prefix, message, _, sender)
end
elseif
event
==
"LOADING_SCREEN_DISABLED"
then
if
not
SendMessageWaiting
then
SendMessageWaiting
=
E
:
Delay
(
5
,
E
.
DelayedElvUIGVC
)
SendMessageWaiting
=
E
:
Delay
(
30
,
E
.
DelayedElvUIGVC
)
-- attempt to join channel 30 seconds after event, then 5 seconds after that send message
end
end
end
...
...
@@ -985,7 +985,7 @@ function E:DelayedElvUIGVC()
end
if
not
SendMessageWaiting
then
SendMessageWaiting
=
E
:
Delay
(
5
,
E
.
SendMessage
)
SendMessageWaiting
=
E
:
Delay
(
5
,
E
.
SendMessage
)
-- this is really 30+5, so 35.
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