Build 1.1.4.0

This commit is contained in:
Markus Isberg
2023-03-31 18:40:44 +03:00
parent efba17e0ff
commit 9470edead3
483 changed files with 17487 additions and 8548 deletions
@@ -197,6 +197,8 @@ namespace Steamworks.Data
void ApplyFilters()
{
if (SteamMatchmaking.Internal is null) { return; }
if ( distance.HasValue )
{
SteamMatchmaking.Internal.AddRequestLobbyListDistanceFilter( distance.Value );
@@ -251,8 +253,10 @@ namespace Steamworks.Data
/// <summary>
/// Run the query, get the matching lobbies
/// </summary>
public async Task<Lobby[]> RequestAsync()
public async Task<Lobby[]?> RequestAsync()
{
if (SteamMatchmaking.Internal is null) { return null; }
await Task.Yield();
ApplyFilters();