mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
add comment
This commit is contained in:
parent
163bb057b5
commit
1168da8c69
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user