mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Add Null Coalescing For Bramble Colors
This commit is contained in:
parent
a5bcd46d3f
commit
1e2cb5384e
@ -179,8 +179,8 @@ namespace NewHorizons.Builder.Props
|
|||||||
// change the colors
|
// change the colors
|
||||||
//
|
//
|
||||||
|
|
||||||
if (config.isSeed) SetSeedColors(brambleNode, config.fogTint.ToColor(), config.lightTint.ToColor());
|
if (config.isSeed) SetSeedColors(brambleNode, config.fogTint?.ToColor(), config.lightTint?.ToColor());
|
||||||
else SetNodeColors(brambleNode, config.fogTint.ToColor(), config.lightTint.ToColor());
|
else SetNodeColors(brambleNode, config.fogTint?.ToColor(), config.lightTint?.ToColor());
|
||||||
|
|
||||||
//
|
//
|
||||||
// set up warps
|
// set up warps
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user