From 537adc9eb4aa579216d00b36f0a7eaa8dc39d8e4 Mon Sep 17 00:00:00 2001 From: SokyranTheDragon <36712560+SokyranTheDragon@users.noreply.github.com> Date: Wed, 21 Feb 2024 05:21:53 +0100 Subject: [PATCH] Updated Alpha Prefabs CameraDriver.MapPosition patch (#429) The use of map position was changed to a different method, so patch was changed to target it instead. --- Source/Mods/AlphaPrefabs.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Mods/AlphaPrefabs.cs b/Source/Mods/AlphaPrefabs.cs index 4eb2845..49db191 100644 --- a/Source/Mods/AlphaPrefabs.cs +++ b/Source/Mods/AlphaPrefabs.cs @@ -98,7 +98,7 @@ private static IntVec3 ReplaceDropPosition(CameraDriver instance) return DropCellFinder.TradeDropSpot(Find.CurrentMap); } - [MpCompatTranspiler("AlphaPrefabs.Window_Prefab", "OrderPrefab")] + [MpCompatTranspiler("AlphaPrefabs.Window_Prefab", "GetPosition")] private static IEnumerable ReplaceCameraMapPosition(IEnumerable instr, MethodBase baseMethod) { var target = AccessTools.PropertyGetter(typeof(CameraDriver), nameof(CameraDriver.MapPosition));