This commit is contained in:
vis2k 2021-08-21 13:42:02 +08:00
parent e9b86cf085
commit 9cf66b511d

View File

@ -113,12 +113,12 @@ void CreateGeneratedCodeClass()
// * old takes a filepath, new takes a in-memory byte[]
// * old uses DefaultAssemblyResolver with added dependencies paths,
// new uses ...?
public bool Weave(AssemblyDefinition asmDef)
public bool Weave(AssemblyDefinition assembly)
{
WeavingFailed = false;
try
{
CurrentAssembly = asmDef;
CurrentAssembly = assembly;
// fix "No writer found for ..." error
// https://github.com/vis2k/Mirror/issues/2579