Fix crash when pulling a potted plant (#1530)
* Fix crash when pulling a potted plant * Fix being able to pull anchored entities
This commit is contained in:
@@ -55,6 +55,7 @@ namespace Content.Server.GlobalVerbs
|
||||
{
|
||||
if (!user.TryGetComponent(out ICollidableComponent userCollidable) ||
|
||||
!target.TryGetComponent(out ICollidableComponent targetCollidable) ||
|
||||
targetCollidable.Anchored ||
|
||||
!target.TryGetComponent(out PullableComponent pullable) ||
|
||||
!user.TryGetComponent(out HandsComponent hands))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user