Update trivial components to use auto comp states (#20539)
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Emoting
|
||||
namespace Content.Shared.Emoting;
|
||||
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
||||
public sealed partial class EmotingComponent : Component
|
||||
{
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed partial class EmotingComponent : Component
|
||||
{
|
||||
[DataField("enabled"), Access(typeof(EmoteSystem),
|
||||
Friend = AccessPermissions.ReadWrite,
|
||||
Other = AccessPermissions.Read)] public bool Enabled = true;
|
||||
}
|
||||
[DataField, AutoNetworkedField]
|
||||
[Access(typeof(EmoteSystem), Friend = AccessPermissions.ReadWrite, Other = AccessPermissions.Read)]
|
||||
public bool Enabled = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user