Gravity Generators cannot be unanchored while active (#41256)

* Add unanchor attempt check

* Combine shared component and server component

- Combines SharedGravityGeneratorComponent and GravityGeneratorComponent
- AutoNetworked the GravityActiveBool

* Remove SharedGravityGeneratorComponent

* Update to SharedGravityGeneratorComponent

* Fix to be a complete sentence

* Dirty GravityActive whenever changed

* Rename component and remove view variables

* Update referenced component name

* Move unanchor attempt to shared system

* Add client system

* Revert popup to PopupEntity

* Fix popup to be PopupClient

* Set access restriction on GravityActive
This commit is contained in:
Justin Pfeifler
2025-11-06 18:53:27 -06:00
committed by GitHub
parent 2eab3ce2bb
commit 4f0b1f377e
10 changed files with 63 additions and 43 deletions

View File

@@ -1,4 +1,3 @@
using Content.Server.Gravity;
using Content.Server.Power.Components;
using Content.Shared.Gravity;
using Robust.Shared.GameObjects;