(de1373e13) Fixed dedicated server logging an error message if the client executable is not found (client exe is not included when installing the dedicated server through SteamCMD)
This commit is contained in:
@@ -240,6 +240,11 @@ namespace Barotrauma
|
||||
errorMessages = new List<string>();
|
||||
foreach (ContentFile file in Files)
|
||||
{
|
||||
#if SERVER
|
||||
//dedicated server doesn't care if the client executable is present or not
|
||||
if (file.Type == ContentType.Executable) { continue; }
|
||||
#endif
|
||||
|
||||
if (!File.Exists(file.Path))
|
||||
{
|
||||
errorMessages.Add("File \"" + file.Path + "\" not found.");
|
||||
|
||||
Reference in New Issue
Block a user