Fix reptilians pulling after being zombiefied (#23066)
* Fix reptilians pulling after being zombiefied Now being zombefied removes ability to pull objects, regardless of if the entity could pull without using their hands. Fix #23043 * Apply changes from review
This commit is contained in:
parent
7ac7258b56
commit
3a7fda10df
|
|
@ -29,6 +29,7 @@ using Content.Shared.Nutrition.AnimalHusbandry;
|
|||
using Content.Shared.Nutrition.Components;
|
||||
using Content.Shared.Popups;
|
||||
using Content.Shared.Roles;
|
||||
using Content.Shared.Pulling.Components;
|
||||
using Content.Shared.Tools.Components;
|
||||
using Content.Shared.Weapons.Melee;
|
||||
using Content.Shared.Zombies;
|
||||
|
|
@ -262,6 +263,8 @@ namespace Content.Server.Zombies
|
|||
RemComp(target, handsComp);
|
||||
}
|
||||
|
||||
RemComp<SharedPullerComponent>(target);
|
||||
|
||||
// No longer waiting to become a zombie:
|
||||
// Requires deferral because this is (probably) the event which called ZombifyEntity in the first place.
|
||||
RemCompDeferred<PendingZombieComponent>(target);
|
||||
|
|
|
|||
Loading…
Reference in New Issue