mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-16 13:09:50 -04:00
Core/Misc: Use std::chrono overload of Creature::DespawnOrUnsummon
This commit is contained in:
committed by
Peter Keresztes Schmidt
parent
d1a39a2ebf
commit
c39eb9b504
@@ -611,7 +611,7 @@ void BossAI::_DespawnAtEvade(Seconds delayToRespawn /*= 30s*/, Creature* who /*=
|
||||
return;
|
||||
}
|
||||
|
||||
who->DespawnOrUnsummon(0, delayToRespawn);
|
||||
who->DespawnOrUnsummon(0s, delayToRespawn);
|
||||
|
||||
if (instance && who == me)
|
||||
instance->SetBossState(_bossId, FAIL);
|
||||
|
||||
Reference in New Issue
Block a user