chore: Change dServer and related code to use BitStream references (#1476)

This commit is contained in:
jadebenn
2024-02-26 23:43:33 -06:00
committed by GitHub
parent 9e0dd05d42
commit 75544e3eec
19 changed files with 54 additions and 54 deletions

View File

@@ -757,7 +757,7 @@ void SlashCommandHandler::HandleChatCommand(const std::u16string& command, Entit
//Tell the master server that we're going to be shutting down whole "universe":
CBITSTREAM;
BitStreamUtils::WriteHeader(bitStream, eConnectionType::MASTER, eMasterMessageType::SHUTDOWN_UNIVERSE);
Game::server->SendToMaster(&bitStream);
Game::server->SendToMaster(bitStream);
ChatPackets::SendSystemMessage(sysAddr, u"Sent universe shutdown notification to master.");
//Tell chat to send an announcement to all servers