mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01: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