Fix how movement sets an entities' rotation. (#6960)
This commit is contained in:
parent
aeaa7f65bc
commit
79b05c4e9b
|
|
@ -149,7 +149,7 @@ namespace Content.Shared.Movement
|
|||
{
|
||||
// This should have its event run during island solver soooo
|
||||
xform.DeferUpdates = true;
|
||||
xform.WorldRotation = worldTotal.GetDir().ToAngle();
|
||||
xform.LocalRotation = total.GetDir().ToAngle();
|
||||
xform.DeferUpdates = false;
|
||||
HandleFootsteps(mover, mobMover);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue