diff --git a/Content.Server/Drone/DroneSystem.cs b/Content.Server/Drone/DroneSystem.cs index 174c8a1c14..773cd917d7 100644 --- a/Content.Server/Drone/DroneSystem.cs +++ b/Content.Server/Drone/DroneSystem.cs @@ -14,6 +14,7 @@ using Content.Server.UserInterface; using Content.Shared.Emoting; using Robust.Shared.Player; using Content.Shared.Tag; +using Content.Shared.Throwing; namespace Content.Server.Drone { @@ -31,6 +32,7 @@ namespace Content.Server.Drone SubscribeLocalEvent(OnMindAdded); SubscribeLocalEvent(OnMindRemoved); SubscribeLocalEvent(OnEmoteAttempt); + SubscribeLocalEvent(OnThrowAttempt); } private void OnInteractionAttempt(EntityUid uid, DroneComponent component, InteractionAttemptEvent args) @@ -116,6 +118,11 @@ namespace Content.Server.Drone args.Cancel(); } + private void OnThrowAttempt(EntityUid uid, DroneComponent drone, ThrowAttemptEvent args) + { + args.Cancel(); + } + private void UpdateDroneAppearance(EntityUid uid, DroneStatus status) { if (TryComp(uid, out var appearance))