diff --git a/NewHorizons/External/Configs/StarSystemConfig.cs b/NewHorizons/External/Configs/StarSystemConfig.cs
index b5a4dff8..a3e5d298 100644
--- a/NewHorizons/External/Configs/StarSystemConfig.cs
+++ b/NewHorizons/External/Configs/StarSystemConfig.cs
@@ -191,6 +191,11 @@ namespace NewHorizons.External.Configs
///
public string promptFact;
+ ///
+ /// Whether the vessel should have physics enabled. This must be set to false for the vessel to stay attached to a parent body.
+ ///
+ [DefaultValue(true)] public bool hasPhysics = true;
+
///
/// The location that the vessel will warp to.
///
@@ -209,10 +214,6 @@ namespace NewHorizons.External.Configs
[JsonObject]
public class VesselInfo : GeneralSolarSystemPropInfo
{
- ///
- /// Whether the vessel should have physics enabled. This must be set to false for the vessel to stay attached to a parent body.
- ///
- [DefaultValue(true)] public bool hasPhysics = true;
}
[JsonObject]
diff --git a/NewHorizons/Handlers/VesselWarpHandler.cs b/NewHorizons/Handlers/VesselWarpHandler.cs
index c18c27c6..f88dfb20 100644
--- a/NewHorizons/Handlers/VesselWarpHandler.cs
+++ b/NewHorizons/Handlers/VesselWarpHandler.cs
@@ -89,7 +89,7 @@ namespace NewHorizons.Handlers
VesselObject = vesselObject;
var vesselAO = vesselObject.AddComponent();
- if (system.Config.Vessel?.vesselSpawn.hasPhysics ?? true)
+ if (system.Config.Vessel?.hasPhysics ?? true)
{
vesselAO._owRigidbody = vesselObject.GetComponent();
vesselObject.transform.parent = null;