This commit is contained in:
Noah Pilarski 2022-05-30 22:12:12 -04:00
parent 937e389719
commit 3634a58bdf
3 changed files with 4 additions and 4 deletions

View File

@ -62,9 +62,9 @@ namespace NewHorizons.Builder.Props
detailGO = newDetailGO; detailGO = newDetailGO;
} }
if (detail.comment != null) if (detail.rename != null)
{ {
detailGO.name = detail.comment; detailGO.name = detail.rename;
} }
detailInfoToCorrespondingSpawnedGameObject[detail] = detailGO; detailInfoToCorrespondingSpawnedGameObject[detail] = detailGO;

View File

@ -116,7 +116,7 @@ namespace NewHorizons.External.Modules
/// <summary> /// <summary>
/// An optional rename of the detail /// An optional rename of the detail
/// </summary> /// </summary>
public string comment; public string rename;
/// <summary> /// <summary>
/// Do we override rotation and try to automatically align this object to stand upright on the body's surface? /// Do we override rotation and try to automatically align this object to stand upright on the body's surface?

View File

@ -813,7 +813,7 @@
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"comment": { "rename": {
"type": "string", "type": "string",
"description": "An optional rename of the detail" "description": "An optional rename of the detail"
}, },