mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
you want arcInfo != null instead of arcInfo == null
This commit is contained in:
parent
613cd45ebc
commit
b2fb622bbb
@ -365,7 +365,7 @@ namespace NewHorizons.Builder.Props
|
|||||||
{
|
{
|
||||||
GameObject arc;
|
GameObject arc;
|
||||||
var type = arcInfo != null ? arcInfo.type : PropModule.NomaiTextArcInfo.NomaiTextArcType.Adult;
|
var type = arcInfo != null ? arcInfo.type : PropModule.NomaiTextArcInfo.NomaiTextArcType.Adult;
|
||||||
var variation = arcInfo == null ? arcInfo.variation : -1;
|
var variation = arcInfo != null ? arcInfo.variation : -1;
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case PropModule.NomaiTextArcInfo.NomaiTextArcType.Child:
|
case PropModule.NomaiTextArcInfo.NomaiTextArcType.Child:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user