Husk sounds & event, removing logfiles with cleanbuild command,

This commit is contained in:
Regalis
2016-02-14 22:50:34 +02:00
parent ef78f2d0f6
commit 35e2d441fc
14 changed files with 43 additions and 8 deletions

View File

@@ -449,6 +449,14 @@ namespace Barotrauma
DebugConsole.NewMessage("Deleted "+saveFile, Color.Green);
}
var logFiles = System.IO.Directory.GetFiles(ServerLog.SavePath);
foreach (string logFile in logFiles)
{
System.IO.File.Delete(logFile);
DebugConsole.NewMessage("Deleted "+logFile, Color.Green);
}
if (System.IO.File.Exists("filelist.xml"))
{
System.IO.File.Delete("filelist.xml");