mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
revert the morb fix
This commit is contained in:
parent
35b7810592
commit
35960bd123
@ -155,8 +155,7 @@ namespace NewHorizons.Components.SizeControllers
|
|||||||
var t = _age / (lifespan * 60f);
|
var t = _age / (lifespan * 60f);
|
||||||
if (maxScale != minScale) t = Mathf.InverseLerp(minScale, maxScale, CurrentScale);
|
if (maxScale != minScale) t = Mathf.InverseLerp(minScale, maxScale, CurrentScale);
|
||||||
|
|
||||||
// Only go to 98% else if it reaches the endSurfaceMaterial it'll morb
|
if (t < 1f)
|
||||||
if (t < 0.98f)
|
|
||||||
{
|
{
|
||||||
_currentColour = Color.Lerp(_startColour, _endColour, t);
|
_currentColour = Color.Lerp(_startColour, _endColour, t);
|
||||||
supernova._surface._materials[0].Lerp(_startSurfaceMaterial, _endSurfaceMaterial, t);
|
supernova._surface._materials[0].Lerp(_startSurfaceMaterial, _endSurfaceMaterial, t);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user