Skip to content

Commit

Permalink
fix: calling base command in other assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpach committed Nov 10, 2020
1 parent c984156 commit e49fda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Mirror/Editor/Weaver/Processors/MethodProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public static void FixRemoteCallToBaseMethod(TypeDefinition type, MethodDefiniti
return;
}

instruction.Operand = baseMethod;
instruction.Operand = method.Module.ImportReference(baseMethod);

Weaver.DLog(type, "Replacing call to '{0}' with '{1}' inside '{2}'", calledMethod.FullName, baseMethod.FullName, method.FullName);
}
Expand Down

0 comments on commit e49fda1

Please sign in to comment.