@@ -13,7 +13,6 @@ using Content.Shared.Stunnable;
|
||||
using Content.Shared.Toggleable;
|
||||
using Robust.Server.GameObjects;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Audio.Systems;
|
||||
using Robust.Shared.Player;
|
||||
|
||||
namespace Content.Server.Stunnable.Systems
|
||||
@@ -25,7 +24,7 @@ namespace Content.Server.Stunnable.Systems
|
||||
[Dependency] private readonly RiggableSystem _riggableSystem = default!;
|
||||
[Dependency] private readonly SharedPopupSystem _popup = default!;
|
||||
[Dependency] private readonly BatterySystem _battery = default!;
|
||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||
[Dependency] private readonly AudioSystem _audio = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
@@ -98,6 +97,7 @@ namespace Content.Server.Stunnable.Systems
|
||||
|
||||
private void TurnOn(EntityUid uid, StunbatonComponent comp, EntityUid user)
|
||||
{
|
||||
|
||||
if (comp.Activated)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user