Skip to content

Commit 91d54ae

Browse files
authored
FIX: Borg can offer item to another (#2224)
1 parent b3b36f5 commit 91d54ae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Content.Server/SS220/ItemOfferVerb/Systems/ItemOfferSystem.cs

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
using Content.Shared.Verbs;
1111
using System.Diagnostics.CodeAnalysis;
1212
using System.Linq;
13+
using Content.Shared.Silicons.Borgs.Components;
1314

1415
namespace Content.Server.SS220.ItemOfferVerb.Systems
1516
{
@@ -82,6 +83,10 @@ private void AddOfferVerb(EntityUid uid, HandsComponent component, GetVerbsEvent
8283
|| args.Target == args.User || !FindFreeHand(component, out var freeHand))
8384
return;
8485

86+
// (fix https://github.com/SerbiaStrong-220/space-station-14/issues/2054)
87+
if (HasComp<BorgChassisComponent>(args.User))
88+
return;
89+
8590
EquipmentVerb verb = new EquipmentVerb()
8691
{
8792
Text = "Передать предмет",

0 commit comments

Comments
 (0)