Core/Handlers: Spell handler no longer downranks otherwise-negative spells because they have a potentially-positive aura effect. Closes #22153.

This commit is contained in:
Treeston
2018-07-19 12:46:31 +02:00
parent 64a61e03ab
commit 8a4858bdcf
3 changed files with 12 additions and 10 deletions

View File

@@ -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