WIP dockingport/multisub saving in single player mode

This commit is contained in:
Regalis
2016-07-02 14:59:49 +03:00
parent 17197a442d
commit cafeceb6d2
8 changed files with 402 additions and 200 deletions
+4 -3
View File
@@ -23,12 +23,13 @@ namespace Barotrauma
string tempPath = Path.Combine(SaveFolder, "temp");
if (!Directory.Exists(tempPath))
if (Directory.Exists(tempPath))
{
Directory.CreateDirectory(tempPath);
Directory.Delete(tempPath, true);
}
Directory.CreateDirectory(tempPath);
try
try
{
if (Submarine.MainSub != null)
{