Fix rotating speed modifier
This commit is contained in:
@@ -509,7 +509,7 @@ namespace InfectionFreeZone {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HarmonyTranspiler]
|
[HarmonyTranspiler]
|
||||||
[HarmonyPatch(typeof(PlaceableObject), "RotateRight")]
|
[HarmonyPatch(typeof(PlaceObjectsInSingleLineCursor), "RotateRight")]
|
||||||
public static IEnumerable<CodeInstruction> PostfixRotateRight(IEnumerable<CodeInstruction> instructions) {
|
public static IEnumerable<CodeInstruction> PostfixRotateRight(IEnumerable<CodeInstruction> instructions) {
|
||||||
var codes = new List<CodeInstruction>(instructions);
|
var codes = new List<CodeInstruction>(instructions);
|
||||||
for (var i = 0; i < codes.Count; i++) {
|
for (var i = 0; i < codes.Count; i++) {
|
||||||
@@ -531,7 +531,7 @@ namespace InfectionFreeZone {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HarmonyTranspiler]
|
[HarmonyTranspiler]
|
||||||
[HarmonyPatch(typeof(PlaceableObject), "RotateLeft")]
|
[HarmonyPatch(typeof(PlaceObjectsInSingleLineCursor), "RotateLeft")]
|
||||||
public static IEnumerable<CodeInstruction> PostfixRotateLeft(IEnumerable<CodeInstruction> instructions) {
|
public static IEnumerable<CodeInstruction> PostfixRotateLeft(IEnumerable<CodeInstruction> instructions) {
|
||||||
var codes = new List<CodeInstruction>(instructions);
|
var codes = new List<CodeInstruction>(instructions);
|
||||||
for (var i = 0; i < codes.Count; i++) {
|
for (var i = 0; i < codes.Count; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user