Files
Delta-v/Content.Shared/Gravity/GravityAffectedComponent.cs
T
Princess CheeseballsandPrincess Cheeseballs 7297cad906 [Bugfix] Fix Cross Grid Magboots (#39910)
* Augh

* Remove that

* ViewVariables property so it can be debugged at the very least.

* Remove

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
2025-11-23 15:22:31 -06:00

18 lines
565 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Gravity;
/// <summary>
/// This Component allows a target to be considered "weightless" when Weightless is true. Without this component, the
/// target will never be weightless.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class GravityAffectedComponent : Component
{
/// <summary>
/// If true, this entity will be considered "weightless"
/// </summary>
[ViewVariables, AutoNetworkedField]
public bool Weightless = true;
}