Core/Threat: Properly update offline states even if all threat references are offline.
Port From (https://github.com/TrinityCore/TrinityCore/commit/0e13ed412a304e91a24eded6c31842dbb7ea53de)
This commit is contained in:
@@ -87,7 +87,7 @@ namespace Game.Combat
|
|||||||
|
|
||||||
public void Update(uint tdiff)
|
public void Update(uint tdiff)
|
||||||
{
|
{
|
||||||
if (!CanHaveThreatList() || IsThreatListEmpty())
|
if (!CanHaveThreatList() || IsThreatListEmpty(true))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (_updateTimer <= tdiff)
|
if (_updateTimer <= tdiff)
|
||||||
|
|||||||
Reference in New Issue
Block a user