mirror of
https://github.com/genxium/DelayNoMore
synced 2025-10-09 08:36:52 +00:00
Minor fix.
This commit is contained in:
@@ -1732,6 +1732,7 @@ func (pR *Room) startBattleUdpTunnel() {
|
||||
continue
|
||||
}
|
||||
playerId := pReq.PlayerId
|
||||
Logger.Info(fmt.Sprintf("`BattleUdpTunnel` for roomId=%d received decoded WsReq:", pR.Id), zap.Any("pReq", pReq))
|
||||
if player, exists1 := pR.Players[playerId]; exists1 {
|
||||
authKey := pReq.AuthKey
|
||||
if authKey != player.BattleUdpTunnelAuthKey {
|
||||
|
Reference in New Issue
Block a user