Merge pull request #138 from erebuswolf/master

Correctly handle lobby refresh with null filter
This commit is contained in:
Garry Newman 2018-03-21 11:29:17 +00:00 committed by GitHub
commit 0a115edae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,8 @@ public void Refresh ( Filter filter = null)
{
filter = new Filter();
filter.StringFilters.Add("appid", client.AppId.ToString());
client.native.matchmaking.RequestLobbyList(OnLobbyList);
return;
}
client.native.matchmaking.AddRequestLobbyListDistanceFilter((SteamNative.LobbyDistanceFilter)filter.DistanceFilter);