Fixed history servers being returned in favourites

This commit is contained in:
Garry Newman 2019-05-24 15:18:55 +01:00
parent ffb0c7a830
commit 5c973b0092

View File

@ -161,6 +161,7 @@ public static IEnumerable<ServerInfo> 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 );
}
}