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