Codechange: [Network] Use std::string in CommandPacket

This commit is contained in:
rubidium42
2021-05-29 16:16:51 +02:00
committed by rubidium42
parent 2e136285e1
commit ef991b1772
7 changed files with 17 additions and 17 deletions

View File

@@ -944,7 +944,7 @@ NetworkRecvStatus ClientNetworkGameSocketHandler::Receive_SERVER_MAP_DONE(Packet
* the server will give us a client-id and let us in */
_network_join_status = NETWORK_JOIN_STATUS_REGISTERING;
ShowJoinStatusWindow();
NetworkSendCommand(0, CCA_NEW, 0, CMD_COMPANY_CTRL, nullptr, nullptr, _local_company);
NetworkSendCommand(0, CCA_NEW, 0, CMD_COMPANY_CTRL, nullptr, {}, _local_company);
}
} else {
/* take control over an existing company */