fix(secure): try once again to fix fests

This commit is contained in:
Andrea Toska 2024-09-30 22:11:43 +02:00
parent b2ada39530
commit 513ebf7023

View File

@ -87,14 +87,15 @@ func cleanupMatchmakeSessionSearchCriteriasHandler(searchCriterias *types.List[*
}
}
func onAfterAutoMatchmakeWithParamPostpone(_ nex.PacketInterface, _ *match_making_types.AutoMatchmakeParam) {
globals.MatchmakingManager.Lock()
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`)
if err != nil {
globals.Logger.Error(err.Error())
}
globals.MatchmakingManager.Unlock()
globals.MatchmakingManager.Mutex.Unlock()
}
func registerCommonSecureServerProtocols() {