Revert "Revert "Fixed server not being listed on master server""

This reverts commit ac8983ee94.
This commit is contained in:
aylaylay 2019-08-17 08:08:10 +01:00
parent ac8983ee94
commit a02d1e87a7

View File

@ -36,17 +36,21 @@ public struct SteamServerInit
/// </summary>
public string GameDescription;
/// <summary>
/// Is a dedicated server
/// </summary>
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;
}