This commit is contained in:
aozhiwei 2023-12-06 19:18:56 +08:00
parent b5898ef684
commit 19f3f08c5d

View File

@ -166,6 +166,7 @@ void Player::_SMDisconnectNotify(f8::MsgHdr* hdr, const cs::SMDisconnectNotify&
void Player::_SMGameOver(f8::MsgHdr* hdr, const cs::SMGameOver& msg)
{
GetWebSocket()->Close();
f8::UdpLog::Instance()->Info("%s %s", {msg.GetTypeName(), f8::PbToJson(&msg)});
}