From baba1b7307e18b63ccf002063acbe0ad7a1655a1 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Mon, 23 May 2022 17:00:10 -0700 Subject: [PATCH] FogBuilder: fix atom.FogTint and remove ToColor cuz hee haw --- NewHorizons/Builder/Atmosphere/FogBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NewHorizons/Builder/Atmosphere/FogBuilder.cs b/NewHorizons/Builder/Atmosphere/FogBuilder.cs index 1dbf2ffd..06a83f14 100644 --- a/NewHorizons/Builder/Atmosphere/FogBuilder.cs +++ b/NewHorizons/Builder/Atmosphere/FogBuilder.cs @@ -33,7 +33,7 @@ namespace NewHorizons.Builder.Atmosphere PFC.fogRadius = atmo.fogSize; PFC.fogDensity = atmo.fogDensity; PFC.fogExponent = 1f; - PFC.fogColorRampTexture = atmo.FogTint == null ? _ramp : ImageUtilities.TintImage(_ramp, atmo.FogTint.ToColor()); + PFC.fogColorRampTexture = atmo.fogTint == null ? _ramp : ImageUtilities.TintImage(_ramp, atmo.fogTint); PFC.fogColorRampIntensity = 1f; PFC.fogTint = atmo.fogTint;