fix(secure): ignore first param

This commit is contained in:
Andrea Toska
2024-09-30 22:19:16 +02:00
parent 513ebf7023
commit ab9e9af01d

View File

@@ -90,7 +90,7 @@ func cleanupMatchmakeSessionSearchCriteriasHandler(searchCriterias *types.List[*
func onAfterAutoMatchmakeWithParamPostpone(_ nex.PacketInterface, _ *match_making_types.AutoMatchmakeParam) {
globals.MatchmakingManager.Mutex.Lock()
err := globals.MatchmakingManager.Database.Exec(`UPDATE matchmaking.matchmake_sessions SET open_participation=true WHERE game_mode=12`)
_, err := globals.MatchmakingManager.Database.Exec(`UPDATE matchmaking.matchmake_sessions SET open_participation=true WHERE game_mode=12`)
if err != nil {
globals.Logger.Error(err.Error())
}