Files
Delta-v/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.AutoFire.cs
T
mq a4e9f24572 Update (MOST) instances of EntityUid, Component in GunSystem to Entity<T> (#41966)
* Entity<T>, skipping Magazine and ChamberMagazine

* missed some

* AUGH!!

* ballistic examine

* dotnet hates me

* WHY ARE YOU CALLED THAT!!!!

* cheers aada
2026-04-04 16:57:22 +02:00

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;
}
}