From 3634a58bdf7630761e18ecbcde30db032dbe791b Mon Sep 17 00:00:00 2001 From: Noah Pilarski Date: Mon, 30 May 2022 22:12:12 -0400 Subject: [PATCH] rename --- NewHorizons/Builder/Props/DetailBuilder.cs | 4 ++-- NewHorizons/External/Modules/PropModule.cs | 2 +- NewHorizons/Schemas/body_schema.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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" },