From 5c973b0092a1f1acfe54d5cdee0db61b61f2b95a Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Fri, 24 May 2019 15:18:55 +0100 Subject: [PATCH] Fixed history servers being returned in favourites --- Facepunch.Steamworks/SteamMatchmaking.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Facepunch.Steamworks/SteamMatchmaking.cs b/Facepunch.Steamworks/SteamMatchmaking.cs index 794194a..5fbe6ea 100644 --- a/Facepunch.Steamworks/SteamMatchmaking.cs +++ b/Facepunch.Steamworks/SteamMatchmaking.cs @@ -161,6 +161,7 @@ public static IEnumerable GetFavoriteServers() if ( Internal.GetFavoriteGame( i, ref appid, ref ip, ref cport, ref qport, ref flags, ref timeplayed ) ) { + if ( (flags & ServerInfo.k_unFavoriteFlagFavorite) == 0 ) continue; yield return new ServerInfo( ip, cport, qport, timeplayed ); } }