mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
whoops
This commit is contained in:
parent
67ba18fa84
commit
58e97e44a1
@ -95,7 +95,7 @@ internal class QuantumMoonPatches : QSBPatch
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static bool GetShipInFog(QuantumMoon moon)
|
public static bool GetShipInFog(QuantumMoon moon)
|
||||||
{
|
{
|
||||||
if (ShipManager.Instance.IsShipWrecked)
|
if (ShipManager.Instance.IsShipWrecked)
|
||||||
{
|
{
|
||||||
@ -108,7 +108,7 @@ internal class QuantumMoonPatches : QSBPatch
|
|||||||
return distanceFromFog < 10f;
|
return distanceFromFog < 10f;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static bool GetTransformInFog(QuantumMoon moon, Transform transform)
|
public static bool GetTransformInFog(QuantumMoon moon, Transform transform)
|
||||||
{
|
{
|
||||||
var distance = Vector3.Distance(moon.transform.position, transform.position);
|
var distance = Vector3.Distance(moon.transform.position, transform.position);
|
||||||
var fogOffset = (moon._stateIndex == 5) ? moon._eyeStateFogOffset : 0f;
|
var fogOffset = (moon._stateIndex == 5) ? moon._eyeStateFogOffset : 0f;
|
||||||
|
Loading…
Reference in New Issue
Block a user