mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix the solar system radius calculation
needs to divide not multiply
This commit is contained in:
parent
fb9e10fee7
commit
14cf9ced3b
@ -928,7 +928,7 @@ namespace NewHorizons.Handlers
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Uses the ratio of the interlopers furthest point to what the base game considers the edge of the solar system
|
// Uses the ratio of the interlopers furthest point to what the base game considers the edge of the solar system
|
||||||
var distanceToCenter = go.transform.position.magnitude * (24000 / 30000f);
|
var distanceToCenter = go.transform.position.magnitude / (24000 / 30000f);
|
||||||
if (distanceToCenter > SolarSystemRadius)
|
if (distanceToCenter > SolarSystemRadius)
|
||||||
{
|
{
|
||||||
SolarSystemRadius = distanceToCenter;
|
SolarSystemRadius = distanceToCenter;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user