From 86b419735bfb87a9ca3432f7187a1aa2f48d7ea5 Mon Sep 17 00:00:00 2001 From: David Markowitz Date: Thu, 2 Jan 2025 20:17:06 -0800 Subject: [PATCH] fix weaponless world load --- dGame/dGameMessages/GameMessageHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dGame/dGameMessages/GameMessageHandler.cpp b/dGame/dGameMessages/GameMessageHandler.cpp index 2e00ffab..058113d0 100644 --- a/dGame/dGameMessages/GameMessageHandler.cpp +++ b/dGame/dGameMessages/GameMessageHandler.cpp @@ -117,6 +117,7 @@ void GameMessageHandler::HandleMessage(RakNet::BitStream& inStream, const System } case MessageType::Game::PLAYER_LOADED: { + GameMessages::SendPlayerReady(entity, sysAddr); entity->SetPlayerReadyForUpdates(); auto* ghostComponent = entity->GetComponent(); @@ -183,7 +184,6 @@ void GameMessageHandler::HandleMessage(RakNet::BitStream& inStream, const System LOG("Player %s (%llu) loaded.", entity->GetCharacter()->GetName().c_str(), entity->GetObjectID()); // After we've done our thing, tell the client they're ready - GameMessages::SendPlayerReady(entity, sysAddr); GameMessages::SendPlayerReady(Game::zoneManager->GetZoneControlObject(), sysAddr); if (Game::config->GetValue("allow_players_to_skip_cinematics") != "1"