We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d138569 commit 4a8667dCopy full SHA for 4a8667d
1 file changed
gpcm/kick.go
@@ -83,6 +83,11 @@ func findMatchingSessions(badSession *GameSpySession) []*GameSpySession {
83
}
84
85
for _, session := range sessions {
86
+ if session.ConnIndex == badSession.ConnIndex {
87
+ // We already know to kick this one. Don't try and kick twice.
88
+ continue
89
+ }
90
+
91
if badSession.DeviceId != 67349608 && badSession.DeviceId == session.DeviceId {
92
ret = append(ret, session)
93
continue
0 commit comments