mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-01-09 22:37:07 +00:00
Merge pull request #1718 from DarkflameUniverse/no-weapon-thing
fix: weaponless world load
This commit is contained in:
commit
c8fcb3788d
@ -117,6 +117,7 @@ void GameMessageHandler::HandleMessage(RakNet::BitStream& inStream, const System
|
|||||||
}
|
}
|
||||||
|
|
||||||
case MessageType::Game::PLAYER_LOADED: {
|
case MessageType::Game::PLAYER_LOADED: {
|
||||||
|
GameMessages::SendPlayerReady(entity, sysAddr);
|
||||||
entity->SetPlayerReadyForUpdates();
|
entity->SetPlayerReadyForUpdates();
|
||||||
|
|
||||||
auto* ghostComponent = entity->GetComponent<GhostComponent>();
|
auto* ghostComponent = entity->GetComponent<GhostComponent>();
|
||||||
@ -183,7 +184,6 @@ void GameMessageHandler::HandleMessage(RakNet::BitStream& inStream, const System
|
|||||||
LOG("Player %s (%llu) loaded.", entity->GetCharacter()->GetName().c_str(), entity->GetObjectID());
|
LOG("Player %s (%llu) loaded.", entity->GetCharacter()->GetName().c_str(), entity->GetObjectID());
|
||||||
|
|
||||||
// After we've done our thing, tell the client they're ready
|
// After we've done our thing, tell the client they're ready
|
||||||
GameMessages::SendPlayerReady(entity, sysAddr);
|
|
||||||
GameMessages::SendPlayerReady(Game::zoneManager->GetZoneControlObject(), sysAddr);
|
GameMessages::SendPlayerReady(Game::zoneManager->GetZoneControlObject(), sysAddr);
|
||||||
|
|
||||||
if (Game::config->GetValue("allow_players_to_skip_cinematics") != "1"
|
if (Game::config->GetValue("allow_players_to_skip_cinematics") != "1"
|
||||||
|
Loading…
Reference in New Issue
Block a user