17 lines
399 B
C#
17 lines
399 B
C#
using Content.Server.Objectives.Interfaces;
|
|
using Content.Server.Traitor;
|
|
using JetBrains.Annotations;
|
|
|
|
namespace Content.Server.Objectives.Requirements
|
|
{
|
|
[UsedImplicitly]
|
|
[DataDefinition]
|
|
public sealed class TraitorRequirement : IObjectiveRequirement
|
|
{
|
|
public bool CanBeAssigned(Mind.Mind mind)
|
|
{
|
|
return mind.HasRole<TraitorRole>();
|
|
}
|
|
}
|
|
}
|