Cleanbuild console command removes the list of banned players (won't be included in builds to prevent the file from being cleared when updating the game)

This commit is contained in:
Joonas Rikkonen
2017-12-06 13:31:08 +02:00
parent cccdd20401
commit 10a77e6137

View File

@@ -438,6 +438,11 @@ namespace Barotrauma
NewMessage("Deleted filelist", Color.Green);
}
if (System.IO.File.Exists("Data/bannedplayers.txt"))
{
System.IO.File.Delete("Data/bannedplayers.txt");
NewMessage("Deleted bannedplayers.txt", Color.Green);
}
if (System.IO.File.Exists("Submarines/TutorialSub.sub"))
{