mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-16 04:59:41 -04:00
Core/Maps: fix respawn times for manual respawns (#24571)
by joshwhedon
This commit is contained in:
@@ -3029,6 +3029,7 @@ bool Map::CheckRespawn(RespawnInfo* info)
|
||||
void Map::Respawn(RespawnInfo* info, CharacterDatabaseTransaction dbTrans)
|
||||
{
|
||||
info->respawnTime = GameTime::GetGameTime();
|
||||
_respawnTimes.increase(info->handle);
|
||||
SaveRespawnInfoDB(*info, dbTrans);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user