add comment

This commit is contained in:
_nebula 2023-02-08 10:57:41 +00:00
parent 163bb057b5
commit 1168da8c69

View File

@ -105,7 +105,7 @@ internal class QuantumMoonPatches : QSBPatch
var distance = Vector3.Distance(moon.transform.position, Locator.GetShipTransform().position);
var fogOffset = (moon._stateIndex == 5) ? moon._eyeStateFogOffset : 0f;
var distanceFromFog = distance - (moon._fogRadius + fogOffset);
return distanceFromFog < 10f;
return distanceFromFog < 10f; // to account for ship size
}
public static bool GetTransformInFog(QuantumMoon moon, Transform transform)