From f80551f92b3dbe3e8a5ee0a57ae2c844ec9db180 Mon Sep 17 00:00:00 2001 From: Andrea Toska Date: Mon, 30 Sep 2024 13:32:33 +0200 Subject: [PATCH] fix(secure): revert previous fix --- nex/register_common_secure_server_protocols.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nex/register_common_secure_server_protocols.go b/nex/register_common_secure_server_protocols.go index f0d7014..bbdc457 100644 --- a/nex/register_common_secure_server_protocols.go +++ b/nex/register_common_secure_server_protocols.go @@ -89,7 +89,7 @@ func compareSearchCriteria[T ~uint16 | ~uint32](original T, search string) bool func cleanupMatchmakeSessionSearchCriteriasHandler(searchCriterias *types.List[*matchmakingtypes.MatchmakeSessionSearchCriteria]) { search := searchCriterias.Slice(); - for searchCriteriasElem := range search { + for _, searchCriteriasElem := range search { searchCriteriasElem.Attribs.DeleteIndex(1); searchCriteriasElem.Attribs.DeleteIndex(4); }