Follower fixes (#15348)
This commit is contained in:
@@ -7,8 +7,9 @@ namespace Content.Shared.Follower.Components;
|
||||
/// Attached to entities that are currently being followed by a ghost.
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(FollowerSystem))]
|
||||
[NetworkedComponent]
|
||||
public sealed class FollowedComponent : Component
|
||||
[NetworkedComponent, AutoGenerateComponentState]
|
||||
public sealed partial class FollowedComponent : Component
|
||||
{
|
||||
[AutoNetworkedField(true), DataField("following")]
|
||||
public HashSet<EntityUid> Following = new();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user