Drone Interaction Checks & Cleanup (#6731)
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.Containers;
|
||||
using Content.Shared.Drone.Components;
|
||||
|
||||
namespace Content.Shared.Drone
|
||||
{
|
||||
@@ -9,15 +7,8 @@ namespace Content.Shared.Drone
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
SubscribeLocalEvent<DroneToolComponent, ContainerGettingRemovedAttemptEvent>(OnRemoveAttempt);
|
||||
}
|
||||
|
||||
private void OnRemoveAttempt(EntityUid uid, DroneToolComponent tool, ContainerGettingRemovedAttemptEvent args)
|
||||
{
|
||||
args.Cancel();
|
||||
}
|
||||
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum DroneVisuals : byte
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user