1
0

PickRandomHeadComponent.cs 302 B

12345678
  1. namespace Content.Server.Objectives.Components;
  2. /// <summary>
  3. /// Sets the target for <see cref="TargetObjectiveComponent"/> to a random head.
  4. /// If there are no heads it will fallback to any person.
  5. /// </summary>
  6. [RegisterComponent]
  7. public sealed partial class PickRandomHeadComponent : Component;