Gravity "Inherent" property for planet maps (#16695)

This commit is contained in:
20kdc
2023-07-16 20:01:54 +01:00
committed by GitHub
parent 99e6f8f0bc
commit 69ff0ae2e6
3 changed files with 17 additions and 1 deletions

View File

@@ -71,6 +71,7 @@ public sealed class PlanetCommand : IConsoleCommand
var gravity = _entManager.EnsureComponent<GravityComponent>(mapUid);
gravity.Enabled = true;
gravity.Inherent = true;
_entManager.Dirty(gravity, metadata);
// Day lighting