Clothing/item ECS & cleanup (#9706)
This commit is contained in:
@@ -470,7 +470,7 @@ namespace Content.Shared.Interaction
|
||||
|
||||
bool ignoreAnchored = false;
|
||||
|
||||
if (HasComp<SharedItemComponent>(target) && TryComp(target, out PhysicsComponent? physics) && physics.CanCollide)
|
||||
if (HasComp<ItemComponent>(target) && TryComp(target, out PhysicsComponent? physics) && physics.CanCollide)
|
||||
{
|
||||
// If the target is an item, we ignore any colliding entities. Currently done so that if items get stuck
|
||||
// inside of walls, users can still pick them up.
|
||||
|
||||
Reference in New Issue
Block a user