* prevent admin-frozen players from ghosting or suiciding * Add "Freeze and Mute" admin verb * Allow "Freeze And Mute" admin verb when player is already frozen but not muted * Remove redundant scream handler (scream action just emotes, duh) * AdminFrozenSystem: clean imports * Update Content.Server/Chat/Commands/SuicideCommand.cs Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> * Update Ghost.cs * retrigger ci (empty commit) --------- Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
15 lines
391 B
C#
15 lines
391 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Administration;
|
|
|
|
[RegisterComponent, Access(typeof(SharedAdminFrozenSystem))]
|
|
[NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class AdminFrozenComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Whether the player is also muted.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public bool Muted;
|
|
}
|