From 35960bd123fef1a885cf61d7ff40686aa5ab9aaf Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Sat, 16 Jul 2022 14:55:25 -0700 Subject: [PATCH] revert the morb fix --- .../Components/SizeControllers/StarEvolutionController.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/NewHorizons/Components/SizeControllers/StarEvolutionController.cs b/NewHorizons/Components/SizeControllers/StarEvolutionController.cs index 7a4d2afa..42398c2b 100644 --- a/NewHorizons/Components/SizeControllers/StarEvolutionController.cs +++ b/NewHorizons/Components/SizeControllers/StarEvolutionController.cs @@ -155,8 +155,7 @@ namespace NewHorizons.Components.SizeControllers var t = _age / (lifespan * 60f); if (maxScale != minScale) t = Mathf.InverseLerp(minScale, maxScale, CurrentScale); - // Only go to 98% else if it reaches the endSurfaceMaterial it'll morb - if (t < 0.98f) + if (t < 1f) { _currentColour = Color.Lerp(_startColour, _endColour, t); supernova._surface._materials[0].Lerp(_startSurfaceMaterial, _endSurfaceMaterial, t);