diff --git a/NewHorizons/Builder/Props/DetailBuilder.cs b/NewHorizons/Builder/Props/DetailBuilder.cs index 61287cb4..c070b6a4 100644 --- a/NewHorizons/Builder/Props/DetailBuilder.cs +++ b/NewHorizons/Builder/Props/DetailBuilder.cs @@ -62,9 +62,9 @@ namespace NewHorizons.Builder.Props detailGO = newDetailGO; } - if (detail.comment != null) + if (detail.rename != null) { - detailGO.name = detail.comment; + detailGO.name = detail.rename; } detailInfoToCorrespondingSpawnedGameObject[detail] = detailGO; diff --git a/NewHorizons/External/Modules/PropModule.cs b/NewHorizons/External/Modules/PropModule.cs index c1650079..c378c7af 100644 --- a/NewHorizons/External/Modules/PropModule.cs +++ b/NewHorizons/External/Modules/PropModule.cs @@ -116,7 +116,7 @@ namespace NewHorizons.External.Modules /// /// An optional rename of the detail /// - public string comment; + public string rename; /// /// Do we override rotation and try to automatically align this object to stand upright on the body's surface? diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index 662f19a4..f5943fe5 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -813,7 +813,7 @@ "type": "object", "additionalProperties": false, "properties": { - "comment": { + "rename": { "type": "string", "description": "An optional rename of the detail" },