Skip to content

Commit

Permalink
Scp330 bag fix (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
Undid-Iridium authored Nov 29, 2024
1 parent 542086d commit f861858
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructi
new(OpCodes.Callvirt, PropertyGetter(typeof(InteractingScp330EventArgs), nameof(InteractingScp330EventArgs.Candy))),

// bag
new(OpCodes.Ldloca_S, 3),
new(OpCodes.Ldloca_S, 2),

// ServerProcessPickup(ReferenceHub, CandyKindID, Scp330Bag)
new CodeInstruction(OpCodes.Call, Method(typeof(InteractingScp330), nameof(ServerProcessPickup), new[] { typeof(ReferenceHub), typeof(CandyKindID), typeof(Scp330Bag).MakeByRefType() })),
Expand Down

0 comments on commit f861858

Please sign in to comment.