Prevent Holoparasites from attacking their host (#6019)
This commit is contained in:
@@ -299,7 +299,7 @@ namespace Content.Server.Interaction
|
||||
if (!ValidateInteractAndFace(user, coordinates))
|
||||
return;
|
||||
|
||||
if (!_actionBlockerSystem.CanAttack(user))
|
||||
if (!_actionBlockerSystem.CanAttack(user, target))
|
||||
return;
|
||||
|
||||
if (!wideAttack)
|
||||
|
||||
Reference in New Issue
Block a user