1
This commit is contained in:
parent
2dc3809af9
commit
f8b25a0657
@ -109,7 +109,7 @@ void MatchTeam::_CMMatchCancel(f8::MsgHdr& hdr, const cs::CMMatchCancel& msg)
|
|||||||
void MatchTeam::_CMMatchChoose(f8::MsgHdr& hdr, const cs::CMMatchChoose& msg)
|
void MatchTeam::_CMMatchChoose(f8::MsgHdr& hdr, const cs::CMMatchChoose& msg)
|
||||||
{
|
{
|
||||||
auto member = GetMemberBySocket(hdr.socket_handle);
|
auto member = GetMemberBySocket(hdr.socket_handle);
|
||||||
if (member) {
|
if (member && phase_ == kMatchChoose) {
|
||||||
member->msg.set_hero_id(msg.hero_id());
|
member->msg.set_hero_id(msg.hero_id());
|
||||||
*member->msg.mutable_weapons() = msg.weapons();
|
*member->msg.mutable_weapons() = msg.weapons();
|
||||||
*member->msg.mutable_skins() = msg.skins();
|
*member->msg.mutable_skins() = msg.skins();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user