mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-27 07:05:50 +03:00
Update LobbyQuery.cs
This commit is contained in:
parent
4b8e1e33af
commit
db41c0f407
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user