ActionBlocker CanChangeDirection uses EntityUid exclusively

This commit is contained in:
Vera Aguilera Puerto
2021-11-09 13:48:59 +01:00
parent cba96ad830
commit a2a8a6303f
4 changed files with 12 additions and 18 deletions

View File

@@ -45,7 +45,7 @@ namespace Content.Shared.Interaction
public bool TryFaceAngle(IEntity user, Angle diffAngle)
{
if (_actionBlockerSystem.CanChangeDirection(user))
if (_actionBlockerSystem.CanChangeDirection(user.Uid))
{
user.Transform.WorldRotation = diffAngle;
return true;