diff --git a/Facepunch.Steamworks/Structs/ServerInit.cs b/Facepunch.Steamworks/Structs/ServerInit.cs index 519e67a..02e3604 100644 --- a/Facepunch.Steamworks/Structs/ServerInit.cs +++ b/Facepunch.Steamworks/Structs/ServerInit.cs @@ -36,17 +36,21 @@ namespace Steamworks /// public string GameDescription; + /// + /// Is a dedicated server + /// + public bool DedicatedServer; - public SteamServerInit( string modDir, string gameDesc ) + + public SteamServerInit( string modDir, string gameDesc ) { - ModDir = modDir; + DedicatedServer = true; + ModDir = modDir; GameDescription = gameDesc; GamePort = 27015; QueryPort = 27016; Secure = true; VersionString = "1.0.0.0"; - ModDir = "unset"; - GameDescription = "unset"; IpAddress = null; SteamPort = 0; }