Fix warden being and qm being not considered head for tot kill head objective (#32721)

* fixed warden being and qm being not considered head for traitor kill head objective

* fixed hypothetical warden traitor not getting disk objective

* change suggested by deltanedas

* cleanup

* cleanup

* fix

* changed as suggested

* removed a dot in the comment

* removed an empty line

* reformulation
This commit is contained in:
Theodore Lukin
2024-10-18 16:43:05 +07:00
committed by GitHub
parent adb7aee831
commit c78b5ae83d
4 changed files with 9 additions and 15 deletions

View File

@@ -1,11 +1,9 @@
using Content.Server.GameTicking.Rules;
namespace Content.Server.Revolutionary.Components;
/// <summary>
/// Given to heads at round start for Revs. Used for tracking if heads died or not.
/// Given to heads at round start. Used for assigning traitors to kill heads and for revs to check if the heads died or not.
/// </summary>
[RegisterComponent, Access(typeof(RevolutionaryRuleSystem))]
[RegisterComponent]
public sealed partial class CommandStaffComponent : Component
{