Misc changes from replay branch (#12581)

This commit is contained in:
Leon Friedrich
2022-11-15 19:34:47 +13:00
committed by GitHub
parent a2183fc223
commit 94011ca2b1
12 changed files with 21 additions and 12 deletions

View File

@@ -80,8 +80,7 @@ namespace Content.Shared.Interaction
public bool TryFaceAngle(EntityUid user, Angle diffAngle, TransformComponent? xform = null)
{
// TODO: MobState should be handling CanChangeDirection's event
if (_actionBlockerSystem.CanChangeDirection(user) && !_mobState.IsIncapacitated(user))
if (_actionBlockerSystem.CanChangeDirection(user))
{
if (!Resolve(user, ref xform))
return false;