Skip to content

Commit

Permalink
feat!(secure): Update to west MatchmakingManager
Browse files Browse the repository at this point in the history
  • Loading branch information
ashquarky committed Aug 25, 2024
1 parent fd75619 commit 49ffa38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nex/register_common_secure_server_protocols.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ func registerCommonSecureServerProtocols() {
globals.SecureEndpoint.RegisterServiceProtocol(matchmakeExtensionProtocol)
commonMatchmakeExtensionProtocol := commonmatchmakeextension.NewCommonProtocol(matchmakeExtensionProtocol)
commonMatchmakeExtensionProtocol.SetManager(globals.MatchmakingManager)
commonMatchmakeExtensionProtocol.CanJoinMatchmakeSession = gameSpecificCanJoinMatchmakeSession

globals.MatchmakingManager.GetUserFriendPIDs = globals.GetUserFriendPIDs
globals.MatchmakingManager.CanJoinMatchmakeSession = gameSpecificCanJoinMatchmakeSession

commonMatchmakeExtensionProtocol.CleanupSearchMatchmakeSession = cleanupSearchMatchmakeSessionHandler
if os.Getenv("PN_MINECRAFT_ALLOW_PUBLIC_MATCHMAKING") != "1" {
Expand Down

0 comments on commit 49ffa38

Please sign in to comment.