mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 22:58:01 +03:00
Merge pull request #138 from erebuswolf/master
Correctly handle lobby refresh with null filter
This commit is contained in:
commit
0a115edae9
@ -41,6 +41,8 @@ namespace Facepunch.Steamworks
|
|||||||
{
|
{
|
||||||
filter = new Filter();
|
filter = new Filter();
|
||||||
filter.StringFilters.Add("appid", client.AppId.ToString());
|
filter.StringFilters.Add("appid", client.AppId.ToString());
|
||||||
|
client.native.matchmaking.RequestLobbyList(OnLobbyList);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
client.native.matchmaking.AddRequestLobbyListDistanceFilter((SteamNative.LobbyDistanceFilter)filter.DistanceFilter);
|
client.native.matchmaking.AddRequestLobbyListDistanceFilter((SteamNative.LobbyDistanceFilter)filter.DistanceFilter);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user