Delta-v/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.AutoFire.cs

12 lines
262 B
C#

using Content.Shared.Weapons.Ranged.Components;
namespace Content.Shared.Weapons.Ranged.Systems;
public partial class SharedGunSystem
{
public void SetEnabled(Entity<AutoShootGunComponent> ent, bool status)
{
ent.Comp.Enabled = status;
}
}