prevent access error if you do workshop cl install but its already installed
This commit is contained in:
@@ -1305,6 +1305,10 @@ namespace Barotrauma
|
||||
|
||||
foreach (string file in filesToCopy)
|
||||
{
|
||||
if (File.Exists(file))
|
||||
{
|
||||
File.Move(file, file + ".todelete", true);
|
||||
}
|
||||
File.Copy(Path.Combine(path, "Binary", file), file, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user