mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Entities/Creature: Fix a bug that caused map respawn timers to be scheduled for compatibility mode creatures.
This commit is contained in:
@@ -2405,6 +2405,7 @@ void Creature::SaveRespawnTime(uint32 forceDelay)
|
||||
ri.spawnId = m_spawnId;
|
||||
ri.respawnTime = m_respawnTime;
|
||||
GetMap()->SaveRespawnInfoDB(ri);
|
||||
return;
|
||||
}
|
||||
|
||||
time_t thisRespawnTime = forceDelay ? GameTime::GetGameTime() + forceDelay : m_respawnTime;
|
||||
|
||||
Reference in New Issue
Block a user