diff --git a/NewHorizons/Patches/VisionTorchPatches.cs b/NewHorizons/Patches/VisionTorchPatches.cs index 546a4ee5..fd4dd131 100644 --- a/NewHorizons/Patches/VisionTorchPatches.cs +++ b/NewHorizons/Patches/VisionTorchPatches.cs @@ -44,6 +44,7 @@ namespace NewHorizons.Patches var t = hitObj.GetComponent(); if (t != null) //(hitObj.CompareTag("PrisonerDetector")) { + __instance._mindProjector.OnProjectionStart -= t.onSlidesStart; __instance._mindProjector.OnProjectionComplete -= t.onSlidesComplete; } return true; diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index 8b247950..4b8fc9bb 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -360,6 +360,12 @@ "unlit": { "type": "boolean", "description": "If the top layer shouldn't have shadows. Set to true if you're making a brown dwarf for example." + }, + "rotationSpeed": { + "type": "number", + "description": "How fast the clouds will rotate in degrees per second.", + "format": "float", + "default": 10.0 } } },