This commit is contained in:
aozhiwei 2023-09-23 20:55:07 +08:00
parent 689775745e
commit a5dbba937a

View File

@ -3559,6 +3559,8 @@ void Room::FillCustomBattleHuman()
if (!member->IsJoined()) {
int socket_handle = 0;
int ip_saddr = 0;
member->GetNetData()->join_msg = std::make_shared<cs::CMJoin>();
member->GetNetData()->join_msg->set_account_id(member->GetAccountId());
Player* hum = NewPlayer();
hum->proto_version = member->GetNetData()->join_msg->proto_version();