fix: ghost mis-matched pointer causing objects to not destruct (#1797)

This commit is contained in:
David Markowitz
2025-06-05 14:07:07 -07:00
committed by GitHub
parent 68eb20966f
commit 820c0f0083
3 changed files with 9 additions and 13 deletions

View File

@@ -1045,7 +1045,7 @@ void HandlePacket(Packet* packet) {
const auto respawnPoint = player->GetCharacter()->GetRespawnPoint(Game::zoneManager->GetZone()->GetWorldID());
Game::entityManager->ConstructEntity(player, UNASSIGNED_SYSTEM_ADDRESS, true);
Game::entityManager->ConstructEntity(player, UNASSIGNED_SYSTEM_ADDRESS);
if (respawnPoint != NiPoint3Constant::ZERO) {
GameMessages::SendPlayerReachedRespawnCheckpoint(player, respawnPoint, NiQuaternionConstant::IDENTITY);