mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Weaver WeaveFromFile: remove unused parameter
This commit is contained in:
parent
e8cf20847d
commit
95b009a126
@ -119,7 +119,7 @@ static void OnCompilationFinished(string assemblyPath, CompilerMessage[] message
|
||||
dependencyPaths.Add(Path.GetDirectoryName(mirrorRuntimeDll));
|
||||
dependencyPaths.Add(Path.GetDirectoryName(unityEngineCoreModuleDLL));
|
||||
|
||||
if (!WeaveFromFile(assemblyPath, dependencyPaths.ToArray(), mirrorRuntimeDll))
|
||||
if (!WeaveFromFile(assemblyPath, dependencyPaths.ToArray()))
|
||||
{
|
||||
// Set false...will be checked in \Editor\EnterPlayModeSettingsCheck.CheckSuccessfulWeave()
|
||||
SessionState.SetBool("MIRROR_WEAVE_SUCCESS", false);
|
||||
@ -149,7 +149,7 @@ static HashSet<string> GetDependecyPaths(string assemblyPath)
|
||||
}
|
||||
// helper function to invoke Weaver with an AssemblyDefinition from a
|
||||
// file path, with dependencies added.
|
||||
static bool WeaveFromFile(string assemblyPath, string[] dependencies, string mirrorAssemblyPath)
|
||||
static bool WeaveFromFile(string assemblyPath, string[] dependencies)
|
||||
{
|
||||
// open the assembly file as stream
|
||||
using (FileStream stream = new FileStream(assemblyPath, FileMode.Open, FileAccess.ReadWrite))
|
||||
|
Loading…
Reference in New Issue
Block a user