mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
17 lines
346 B
C#
17 lines
346 B
C#
using Content.Shared.StatusEffect;
|
|
|
|
namespace Content.Server.MobState;
|
|
|
|
public sealed partial class MobStateSystem
|
|
{
|
|
public override void EnterCritState(EntityUid uid)
|
|
{
|
|
base.EnterCritState(uid);
|
|
|
|
if (HasComp<StatusEffectsComponent>(uid))
|
|
{
|
|
Status.TryRemoveStatusEffect(uid, "Stun");
|
|
}
|
|
}
|
|
}
|