diff --git a/Facepunch.Steamworks/Client.ServerList.Request.cs b/Facepunch.Steamworks/Client.ServerList.Request.cs index 47b6952..ebc5b6d 100644 --- a/Facepunch.Steamworks/Client.ServerList.Request.cs +++ b/Facepunch.Steamworks/Client.ServerList.Request.cs @@ -161,11 +161,11 @@ private void OnServer( gameserveritem_t info ) { if ( info.m_bHadSuccessfulResponse ) { - Responded.Add( Server.FromSteam( client, info ) ); + Responded.Add( Server.FromSteam( info ) ); } else { - Unresponsive.Add( Server.FromSteam( client, info ) ); + Unresponsive.Add( Server.FromSteam( info ) ); } } diff --git a/Facepunch.Steamworks/Facepunch.Steamworks.csproj b/Facepunch.Steamworks/Facepunch.Steamworks.csproj index 694cba2..f32b152 100644 --- a/Facepunch.Steamworks/Facepunch.Steamworks.csproj +++ b/Facepunch.Steamworks/Facepunch.Steamworks.csproj @@ -127,6 +127,7 @@ + diff --git a/Facepunch.Steamworks/Server.cs b/Facepunch.Steamworks/Server.cs index 4fd4eb6..f13aedd 100644 --- a/Facepunch.Steamworks/Server.cs +++ b/Facepunch.Steamworks/Server.cs @@ -9,7 +9,7 @@ namespace Facepunch.Steamworks { public partial class ServerList { - public class Server + public struct Server { public string Name { get; set; } public int Ping { get; set; }