aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Scripting/ScriptReloadMgr.cpp
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2018-07-19 12:46:31 +0200
committerTreeston <treeston.mmoc@gmail.com>2018-07-19 12:46:31 +0200
commit8a4858bdcfba5b2c9fca27869db72704af39c2e6 (patch)
treed43d0a82073b1927ac8eb3ce1ab97a403f9f78e5 /src/server/game/Scripting/ScriptReloadMgr.cpp
parent64a61e03ab0799b5437ddb9fe702c4912f3f9dd9 (diff)
Core/Handlers: Spell handler no longer downranks otherwise-negative spells because they have a potentially-positive aura effect. Closes #22153.
Diffstat (limited to 'src/server/game/Scripting/ScriptReloadMgr.cpp')
-rw-r--r--src/server/game/Scripting/ScriptReloadMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Scripting/ScriptReloadMgr.cpp b/src/server/game/Scripting/ScriptReloadMgr.cpp
index 3e38adcfc43..7fcbcc7566d 100644
--- a/src/server/game/Scripting/ScriptReloadMgr.cpp
+++ b/src/server/game/Scripting/ScriptReloadMgr.cpp
@@ -1034,7 +1034,7 @@ private:
// Wait for the current build job to finish, if the job finishes in time
// evaluate it and continue with the next one.
if (_build_job->GetProcess()->GetFutureResult().
- wait_for(0s) == std::future_status::ready)
+ wait_for(std::chrono::seconds(0)) == std::future_status::ready)
ProcessReadyBuildJob();
else
return; // Return when the job didn't finish in time