From f0e4a2d64b61ab121332f63e13d4756af056bf46 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sun, 29 Sep 2024 01:18:31 +0200 Subject: [PATCH] Fix rotating speed modifier --- .../InfectionFreeZone/InfectionFreeZone/InfectionFreeZone.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Projects/InfectionFreeZone/InfectionFreeZone/InfectionFreeZone.cs b/Projects/InfectionFreeZone/InfectionFreeZone/InfectionFreeZone.cs index b2bdb3f..5cecfed 100644 --- a/Projects/InfectionFreeZone/InfectionFreeZone/InfectionFreeZone.cs +++ b/Projects/InfectionFreeZone/InfectionFreeZone/InfectionFreeZone.cs @@ -509,7 +509,7 @@ namespace InfectionFreeZone { } [HarmonyTranspiler] - [HarmonyPatch(typeof(PlaceableObject), "RotateRight")] + [HarmonyPatch(typeof(PlaceObjectsInSingleLineCursor), "RotateRight")] public static IEnumerable PostfixRotateRight(IEnumerable instructions) { var codes = new List(instructions); for (var i = 0; i < codes.Count; i++) { @@ -531,7 +531,7 @@ namespace InfectionFreeZone { } [HarmonyTranspiler] - [HarmonyPatch(typeof(PlaceableObject), "RotateLeft")] + [HarmonyPatch(typeof(PlaceObjectsInSingleLineCursor), "RotateLeft")] public static IEnumerable PostfixRotateLeft(IEnumerable instructions) { var codes = new List(instructions); for (var i = 0; i < codes.Count; i++) {