Off-grid entities were continually expanding the graph indefinitely which is... bad. Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
18 lines
449 B
C#
18 lines
449 B
C#
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Interfaces.GameObjects;
|
|
|
|
namespace Content.Server.GameObjects.Components.Access
|
|
{
|
|
public sealed class AccessReaderChangeMessage : EntitySystemMessage
|
|
{
|
|
public IEntity Sender { get; }
|
|
|
|
public bool Enabled { get; }
|
|
|
|
public AccessReaderChangeMessage(IEntity entity, bool enabled)
|
|
{
|
|
Sender = entity;
|
|
Enabled = enabled;
|
|
}
|
|
}
|
|
} |