mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-20 15:01:38 -04: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