fix(secure): hopefully fix the error (thanks dani)

This commit is contained in:
Andrea Toska 2024-09-30 16:52:53 +02:00
parent 24c5e11dd0
commit 008344e2dc

View File

@ -87,15 +87,12 @@ func compareSearchCriteria[T ~uint16 | ~uint32](original T, search string) bool
}
}
func cleanupSearchMatchmakeSession(matchmakeSession *matchmakingtypes.MatchmakeSession) {
matchmakeSession.Attributes.DeleteIndex(1);
matchmakeSession.Attributes.DeleteIndex(4);
}
func cleanupMatchmakeSessionSearchCriteriasHandler(searchCriterias *types.List[*matchmakingtypes.MatchmakeSessionSearchCriteria]) {
fmt.Printf("%+v\n", searchCriterias)
fmt.Printf("AAAAAAA")
}
func cleanupMatchmakeSessionSearchCriteriasHandler(searchCriterias *types.List[*match_making_types.MatchmakeSessionSearchCriteria]) {
for _, searchCriteria := range searchCriterias.Slice() {
searchCriteria.Attribs.SetIndex(1, "")
searchCriteria.Attribs.SetIndex(4, "")
}
}
func gameSpecificMatchmakeSessionSearchCriteriaChecksHandler(searchCriteria *matchmakingtypes.MatchmakeSessionSearchCriteria, matchmakeSession *matchmakingtypes.MatchmakeSession) bool {