mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +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 @@ public void Refresh ( Filter filter = null)
|
|||||||
{
|
{
|
||||||
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…
Reference in New Issue
Block a user