SharedGunSystem.AutoFire.cs 276 B

1234567891011
  1. using Content.Shared.Weapons.Ranged.Components;
  2. namespace Content.Shared.Weapons.Ranged.Systems;
  3. public partial class SharedGunSystem
  4. {
  5. public void SetEnabled(EntityUid uid, AutoShootGunComponent component, bool status)
  6. {
  7. component.Enabled = status;
  8. }
  9. }