mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-28 22:48:08 +03:00
Fixed history servers being returned in favourites
This commit is contained in:
parent
ffb0c7a830
commit
5c973b0092
@ -161,6 +161,7 @@ namespace Steamworks
|
|||||||
|
|
||||||
if ( Internal.GetFavoriteGame( i, ref appid, ref ip, ref cport, ref qport, ref flags, ref timeplayed ) )
|
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 );
|
yield return new ServerInfo( ip, cport, qport, timeplayed );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user