mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Threat: Properly update offline states even if all threat references are offline. Closes #23639.
(cherry picked from commit 55ec3bd73f)
This commit is contained in:
@@ -188,7 +188,7 @@ void ThreatManager::Initialize()
|
||||
|
||||
void ThreatManager::Update(uint32 tdiff)
|
||||
{
|
||||
if (!CanHaveThreatList() || IsThreatListEmpty())
|
||||
if (!CanHaveThreatList() || IsThreatListEmpty(true))
|
||||
return;
|
||||
if (_updateTimer <= tdiff)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user