Combine AdminFrozenSystem in shared. (#39885)

commit
This commit is contained in:
Kyle Tyo
2025-08-25 09:49:27 -04:00
committed by GitHub
parent 6c154fb79e
commit ffc7cc5e5d
4 changed files with 12 additions and 27 deletions

View File

@@ -1,16 +0,0 @@
using Content.Shared.Administration;
namespace Content.Server.Administration.Systems;
public sealed class AdminFrozenSystem : SharedAdminFrozenSystem
{
/// <summary>
/// Freezes and mutes the given entity.
/// </summary>
public void FreezeAndMute(EntityUid uid)
{
var comp = EnsureComp<AdminFrozenComponent>(uid);
comp.Muted = true;
Dirty(uid, comp);
}
}