Files
wwdpublic/Content.Server/GameTicking/Rules/Components/RespawnDeadRuleComponent.cs
AJCM-git fe4c21eb0c RespawnRuleSystem tweaks. (#28528)
(cherry picked from commit 509e3aedf7b91c1e1d11e5a885608bc92909f552)
2025-07-14 12:33:06 +10:00

15 lines
475 B
C#

namespace Content.Server.GameTicking.Rules.Components;
/// <summary>
/// This is used for gamemodes that automatically respawn players when they're no longer alive.
/// </summary>
[RegisterComponent, Access(typeof(RespawnRuleSystem))]
public sealed partial class RespawnDeadRuleComponent : Component
{
/// <summary>
/// Whether or not we want to add everyone who dies to the respawn tracker
/// </summary>
[DataField]
public bool AlwaysRespawnDead;
}