Skip to content

Commit 49ffa38

Browse files
committed
feat!(secure): Update to west MatchmakingManager
1 parent fd75619 commit 49ffa38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nex/register_common_secure_server_protocols.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ func registerCommonSecureServerProtocols() {
154154
globals.SecureEndpoint.RegisterServiceProtocol(matchmakeExtensionProtocol)
155155
commonMatchmakeExtensionProtocol := commonmatchmakeextension.NewCommonProtocol(matchmakeExtensionProtocol)
156156
commonMatchmakeExtensionProtocol.SetManager(globals.MatchmakingManager)
157+
commonMatchmakeExtensionProtocol.CanJoinMatchmakeSession = gameSpecificCanJoinMatchmakeSession
157158

158159
globals.MatchmakingManager.GetUserFriendPIDs = globals.GetUserFriendPIDs
159-
globals.MatchmakingManager.CanJoinMatchmakeSession = gameSpecificCanJoinMatchmakeSession
160160

161161
commonMatchmakeExtensionProtocol.CleanupSearchMatchmakeSession = cleanupSearchMatchmakeSessionHandler
162162
if os.Getenv("PN_MINECRAFT_ALLOW_PUBLIC_MATCHMAKING") != "1" {

0 commit comments

Comments
 (0)