@@ -3,6 +3,7 @@ using System.Linq;
|
||||
using Content.Server.Administration.Logs;
|
||||
using Content.Server.Atmos.EntitySystems;
|
||||
using Content.Server.Disposal.Tube;
|
||||
using Content.Server.Carrying;
|
||||
using Content.Server.Disposal.Tube.Components;
|
||||
using Content.Server.Disposal.Unit.Components;
|
||||
using Content.Server.Popups;
|
||||
@@ -503,6 +504,9 @@ public sealed class DisposalUnitSystem : SharedDisposalUnitSystem
|
||||
if (!CanInsert(unitId, unit, toInsertId))
|
||||
return false;
|
||||
|
||||
if (HasComp<CarryingComponent>(toInsertId))
|
||||
return false;
|
||||
|
||||
bool insertingSelf = userId == toInsertId;
|
||||
|
||||
var delay = insertingSelf ? unit.EntryDelay : unit.DraggedEntryDelay;
|
||||
|
||||
Reference in New Issue
Block a user