diff options
Diffstat (limited to 'pkgs/games/build-support/monogame-patcher/src/patcher.cs')
-rw-r--r-- | pkgs/games/build-support/monogame-patcher/src/patcher.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/build-support/monogame-patcher/src/patcher.cs b/pkgs/games/build-support/monogame-patcher/src/patcher.cs index c9046f0a..cac60250 100644 --- a/pkgs/games/build-support/monogame-patcher/src/patcher.cs +++ b/pkgs/games/build-support/monogame-patcher/src/patcher.cs @@ -97,8 +97,8 @@ class ReplaceCall : Command { private MethodReference replace; public ReplaceCall(ReplaceCallCmd options) : base(options) { - this.search = options.replaceCall.ToList()[0]; - this.replace = this.find_method_ref(options.replaceCall.ToList()[1]); + this.search = options.replaceMethod; + this.replace = this.find_method_ref(options.replacementMethod); var filtered = this.module.Types .Where(p => options.typesToPatch.Contains(p.Name)); |