Update LobbyQuery.cs

This commit is contained in:
thesupersoup 2019-06-24 21:47:19 -07:00
parent 4b8e1e33af
commit db41c0f407

View File

@ -105,7 +105,7 @@ public LobbyQuery WithNotEqual( string key, int value )
/// <summary>
/// Test key, initialize numerical filter dictionary if necessary, then add new numerical filter
/// </summary>
internal LobbyQuery AddNumericalFilter( string key, int value, LobbyComparison compare )
internal void AddNumericalFilter( string key, int value, LobbyComparison compare )
{
if ( string.IsNullOrEmpty( key ) )
throw new System.ArgumentException( "Key string provided for LobbyQuery filter is null or empty", nameof( key ) );
@ -117,8 +117,6 @@ internal LobbyQuery AddNumericalFilter( string key, int value, LobbyComparison c
numericalFilters = new Dictionary<KeyValuePair<string, int>, LobbyComparison>();
numericalFilters.Add( new KeyValuePair<string, int>( key, value ), compare );
return this;
}
#endregion