Unstable fixes
This commit is contained in:
@@ -37,7 +37,7 @@ namespace Barotrauma
|
||||
"System.Runtime.CompilerServices.Unsafe.dll"
|
||||
};
|
||||
filesToCopy = filesToCopy.Concat(Directory.EnumerateFiles(path, "*.dll", SearchOption.AllDirectories)
|
||||
.Where(s => s.Contains("mscordaccore_amd64_amd64_4.")).Select(s => Path.GetFileName(s))).ToArray();
|
||||
.Where(s => s.Contains("mscordaccore_amd64_amd64")).Select(s => Path.GetFileName(s))).ToArray();
|
||||
|
||||
CreateMissingDirectory();
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ namespace Barotrauma.Networking
|
||||
|
||||
if (canUse != null)
|
||||
{
|
||||
return should.Value;
|
||||
return canUse.Value;
|
||||
}
|
||||
|
||||
if (recipientRadio.CanReceive(senderRadio)) { return true; }
|
||||
|
||||
@@ -77,11 +77,6 @@ namespace Barotrauma
|
||||
Directory.SetCurrentDirectory(executableDir);
|
||||
}
|
||||
|
||||
if (File.Exists("usecurrentdirectoryforsaves"))
|
||||
{
|
||||
SaveUtil.SaveFolder = Environment.CurrentDirectory;
|
||||
}
|
||||
|
||||
Game = new GameMain(args);
|
||||
|
||||
Game.Run();
|
||||
|
||||
Reference in New Issue
Block a user