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:
@@ -438,6 +438,11 @@ namespace Barotrauma
|
|||||||
NewMessage("Deleted filelist", Color.Green);
|
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"))
|
if (System.IO.File.Exists("Submarines/TutorialSub.sub"))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user