From 3d22887dc8d0c4eb948658ff46a5bfd1ac2b070b Mon Sep 17 00:00:00 2001 From: PabloMK7 Date: Wed, 6 Mar 2024 14:04:04 +0100 Subject: [PATCH 1/2] Removing lingering "Leaving" print --- match-making/protocol.go | 1 - 1 file changed, 1 deletion(-) diff --git a/match-making/protocol.go b/match-making/protocol.go index 25a5ff9..bc6b6f7 100644 --- a/match-making/protocol.go +++ b/match-making/protocol.go @@ -40,7 +40,6 @@ func NewCommonProtocol(protocol match_making.Interface) *CommonProtocol { protocol.SetHandlerUpdateSessionHost(commonProtocol.updateSessionHost) endpoint.OnConnectionEnded(func(connection *nex.PRUDPConnection) { - fmt.Println("Leaving") common_globals.RemoveConnectionFromAllSessions(connection) }) From a8cc302e322763ff10e47567037fd02f864be75c Mon Sep 17 00:00:00 2001 From: PabloMK7 Date: Wed, 6 Mar 2024 14:11:47 +0100 Subject: [PATCH 2/2] Remove unneeded import --- match-making/protocol.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/match-making/protocol.go b/match-making/protocol.go index bc6b6f7..da08c16 100644 --- a/match-making/protocol.go +++ b/match-making/protocol.go @@ -1,8 +1,6 @@ package matchmaking import ( - "fmt" - "github.com/PretendoNetwork/nex-go" "github.com/PretendoNetwork/nex-go/types" common_globals "github.com/PretendoNetwork/nex-protocols-common-go/globals"