diff --git a/Source/InventorySurgery.cs b/Source/InventorySurgery.cs index fbd6382..d23d4a8 100644 --- a/Source/InventorySurgery.cs +++ b/Source/InventorySurgery.cs @@ -10,11 +10,11 @@ namespace SmartMedicine { [HarmonyPatch(typeof(WorkGiver_DoBill), "TryFindBestBillIngredients")] - [HarmonyPriority(Priority.First)] + [HarmonyPriority(Priority.Last)] //Patch applied last, means the prefix goes first. public static class HackityGetBill { public static Bill bill; - //private static bool TryFindBestBillIngredients(, Pawn pawn, Thing billGiver, List chosen) + //private static bool TryFindBestBillIngredients(Bill bill, Pawn pawn, Thing billGiver, List chosen) public static void Prefix(Bill bill) { HackityGetBill.bill = bill;