mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Allow bramble dimensions to have gravity
This commit is contained in:
parent
aa9aa8c9c6
commit
35f0e80df4
@ -349,6 +349,13 @@ namespace NewHorizons.Handlers
|
||||
BrambleDimensionBuilder.Make(body, go, ao, sector, owRigidBody);
|
||||
|
||||
go = SharedGenerateBody(body, go, sector, owRigidBody);
|
||||
|
||||
// Not included in SharedGenerate to not mess up gravity on base game planets
|
||||
if (body.Config.Base.surfaceGravity != 0)
|
||||
{
|
||||
GravityBuilder.Make(go, ao, owRigidBody, body.Config);
|
||||
}
|
||||
|
||||
body.Object = go;
|
||||
|
||||
AstroObjectLocator.RegisterCustomAstroObject(ao);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user