diff --git a/Facepunch.Steamworks/Structs/LobbyQuery.cs b/Facepunch.Steamworks/Structs/LobbyQuery.cs index 14dc8d5..e7f80e6 100644 --- a/Facepunch.Steamworks/Structs/LobbyQuery.cs +++ b/Facepunch.Steamworks/Structs/LobbyQuery.cs @@ -105,7 +105,7 @@ public LobbyQuery WithNotEqual( string key, int value ) /// /// Test key, initialize numerical filter dictionary if necessary, then add new numerical filter /// - 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, LobbyComparison>(); numericalFilters.Add( new KeyValuePair( key, value ), compare ); - - return this; } #endregion