Fix being able to start pulling something while incapacitated. (#4240)
This commit is contained in:
committed by
GitHub
parent
a1088faa35
commit
9bedfe79be
@@ -204,6 +204,11 @@ namespace Content.Shared.Pulling.Components
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!EntitySystem.Get<SharedPullingSystem>().CanPull(puller, Owner))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (_physics == null)
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user