mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
use simplified call to detail info thing
This commit is contained in:
parent
5f65bb5360
commit
b134e12389
@ -350,15 +350,10 @@ namespace NewHorizons.Builder.Props.TranslatorText
|
|||||||
}
|
}
|
||||||
case PropModule.NomaiTextType.Whiteboard:
|
case PropModule.NomaiTextType.Whiteboard:
|
||||||
{
|
{
|
||||||
var whiteboardInfo = new PropModule.DetailInfo()
|
var whiteboardInfo = new PropModule.DetailInfo(info)
|
||||||
{
|
{
|
||||||
alignRadial = info.alignRadial,
|
|
||||||
isRelativeToParent = info.isRelativeToParent,
|
|
||||||
parentPath = info.parentPath,
|
|
||||||
path = "BrittleHollow_Body/Sector_BH/Sector_NorthHemisphere/Sector_NorthPole/Sector_HangingCity/Sector_HangingCity_District2/Interactables_HangingCity_District2/VisibleFrom_HangingCity/Props_NOM_Whiteboard (1)",
|
path = "BrittleHollow_Body/Sector_BH/Sector_NorthHemisphere/Sector_NorthPole/Sector_HangingCity/Sector_HangingCity_District2/Interactables_HangingCity_District2/VisibleFrom_HangingCity/Props_NOM_Whiteboard (1)",
|
||||||
position = info.position,
|
|
||||||
rename = info.rename ?? "Props_NOM_Whiteboard",
|
rename = info.rename ?? "Props_NOM_Whiteboard",
|
||||||
rotation = info.rotation,
|
|
||||||
};
|
};
|
||||||
var whiteboardObject = DetailBuilder.Make(planetGO, sector, whiteboardInfo);
|
var whiteboardObject = DetailBuilder.Make(planetGO, sector, whiteboardInfo);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user