From 2529920b4963a5e5f079b88543805c98ccbbcd29 Mon Sep 17 00:00:00 2001 From: Shingo INADA Date: Sun, 23 Jul 2023 09:24:17 +0900 Subject: [PATCH] fix build error --- gdxsv/lbs_lobby.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdxsv/lbs_lobby.go b/gdxsv/lbs_lobby.go index 123839f..37b3f6f 100644 --- a/gdxsv/lbs_lobby.go +++ b/gdxsv/lbs_lobby.go @@ -738,7 +738,7 @@ func (l *LbsLobby) makeP2PMatchingMsg(b *LbsBattle, participants []*LbsPeer) ([] } var msgs []*LbsMessage - for i, p := range participants { + for i := range participants { matching.PeerId = int32(i) bin, err := pb.Marshal(matching)