1
This commit is contained in:
parent
b5898ef684
commit
19f3f08c5d
@ -166,6 +166,7 @@ void Player::_SMDisconnectNotify(f8::MsgHdr* hdr, const cs::SMDisconnectNotify&
|
|||||||
|
|
||||||
void Player::_SMGameOver(f8::MsgHdr* hdr, const cs::SMGameOver& msg)
|
void Player::_SMGameOver(f8::MsgHdr* hdr, const cs::SMGameOver& msg)
|
||||||
{
|
{
|
||||||
|
GetWebSocket()->Close();
|
||||||
f8::UdpLog::Instance()->Info("%s %s", {msg.GetTypeName(), f8::PbToJson(&msg)});
|
f8::UdpLog::Instance()->Info("%s %s", {msg.GetTypeName(), f8::PbToJson(&msg)});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user