Entities/Creature: Fix a bug that caused map respawn timers to be scheduled for compatibility mode creatures.

This commit is contained in:
Treeston
2019-08-18 12:30:21 +02:00
committed by GitHub
parent c4cce31a13
commit 9665bbf665

View File

@@ -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;