Core/Maps: fix respawn times for manual respawns (#24571)

by joshwhedon
This commit is contained in:
NoName
2020-05-05 22:09:50 +03:00
committed by GitHub
parent 4e4a999e49
commit 5bbab32793

View File

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