mirror of
https://github.com/genxium/DelayNoMore
synced 2024-12-26 03:39:00 +00:00
Minor fix.
This commit is contained in:
parent
c75f642011
commit
d560392c79
@ -1749,7 +1749,7 @@ func (pR *Room) startBattleUdpTunnel() {
|
|||||||
pReq := new(pb.WsReq)
|
pReq := new(pb.WsReq)
|
||||||
bytes := message[0:rlen]
|
bytes := message[0:rlen]
|
||||||
if unmarshalErr := proto.Unmarshal(bytes, pReq); nil != unmarshalErr {
|
if unmarshalErr := proto.Unmarshal(bytes, pReq); nil != unmarshalErr {
|
||||||
Logger.Warn("`BattleUdpTunnel` for roomId=%d failed to unmarshal", zap.Error(unmarshalErr))
|
Logger.Warn(fmt.Sprintf("`BattleUdpTunnel` for roomId=%d failed to unmarshal %d bytes", pR.Id, rlen), zap.Error(unmarshalErr))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
playerId := pReq.PlayerId
|
playerId := pReq.PlayerId
|
||||||
|
Loading…
Reference in New Issue
Block a user