* 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>
18 lines
565 B
C#
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;
|
|
}
|