From 52bbb1d0c22140fabdce6e5733af48093d07a83b Mon Sep 17 00:00:00 2001 From: Ash Logan Date: Sun, 13 Sep 2026 23:58:27 +1000 Subject: [PATCH] fix(secure): use the correct register - splatoon uses non-ex --- nex/register_common_secure_server_protocols.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nex/register_common_secure_server_protocols.go b/nex/register_common_secure_server_protocols.go index 90eba43..3f0e058 100644 --- a/nex/register_common_secure_server_protocols.go +++ b/nex/register_common_secure_server_protocols.go @@ -31,7 +31,7 @@ func cleanupMatchmakeSessionSearchCriteriasHandler(searchCriterias types.List[ma } } -func adjustPublicStationFirst(packet nex.PacketInterface, urls types.List[types.StationURL], dataHolder types.DataHolder) { +func adjustPublicStationFirst(packet nex.PacketInterface, urls types.List[types.StationURL]) { connection := packet.Sender().(*nex.PRUDPConnection) connection.StationURLs = []types.StationURL{ connection.StationURLs[1], @@ -45,7 +45,7 @@ func registerCommonSecureServerProtocols() { globals.SecureEndpoint.RegisterServiceProtocol(secureProtocol) commonSecureProtocol := commonsecure.NewCommonProtocol(secureProtocol) commonSecureProtocol.EnableInsecureRegister() - commonSecureProtocol.OnAfterRegisterEx = adjustPublicStationFirst + commonSecureProtocol.OnAfterRegister = adjustPublicStationFirst commonSecureProtocol.CreateReportDBRecord = CreateReportDBRecord natTraversalProtocol := nattraversal.NewProtocol()