diff --git a/dGame/dGameMessages/GameMessageHandler.cpp b/dGame/dGameMessages/GameMessageHandler.cpp index 5ecc5e68..2e00ffab 100644 --- a/dGame/dGameMessages/GameMessageHandler.cpp +++ b/dGame/dGameMessages/GameMessageHandler.cpp @@ -117,7 +117,6 @@ void GameMessageHandler::HandleMessage(RakNet::BitStream& inStream, const System } case MessageType::Game::PLAYER_LOADED: { - GameMessages::SendRestoreToPostLoadStats(entity, sysAddr); entity->SetPlayerReadyForUpdates(); auto* ghostComponent = entity->GetComponent(); @@ -135,6 +134,8 @@ void GameMessageHandler::HandleMessage(RakNet::BitStream& inStream, const System } } + GameMessages::SendRestoreToPostLoadStats(entity, sysAddr); + auto* destroyable = entity->GetComponent(); destroyable->SetImagination(destroyable->GetImagination()); Game::entityManager->SerializeEntity(entity);