mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
rename
This commit is contained in:
parent
937e389719
commit
3634a58bdf
@ -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;
|
||||
|
||||
2
NewHorizons/External/Modules/PropModule.cs
vendored
2
NewHorizons/External/Modules/PropModule.cs
vendored
@ -116,7 +116,7 @@ namespace NewHorizons.External.Modules
|
||||
/// <summary>
|
||||
/// An optional rename of the detail
|
||||
/// </summary>
|
||||
public string comment;
|
||||
public string rename;
|
||||
|
||||
/// <summary>
|
||||
/// Do we override rotation and try to automatically align this object to stand upright on the body's surface?
|
||||
|
||||
@ -813,7 +813,7 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"comment": {
|
||||
"rename": {
|
||||
"type": "string",
|
||||
"description": "An optional rename of the detail"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user