mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 11:40:52 +01:00
17 lines
449 B
C#
17 lines
449 B
C#
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Maths;
|
|
|
|
namespace Robust.Client.GameObjects;
|
|
|
|
public sealed partial class TransformSystem
|
|
{
|
|
public override void SetLocalPosition(TransformComponent xform, Vector2 value)
|
|
{
|
|
xform._prevPosition = xform._localPosition;
|
|
xform._nextPosition = value;
|
|
xform.LerpParent = xform.ParentUid;
|
|
base.SetLocalPosition(xform, value);
|
|
ActivateLerp(xform);
|
|
}
|
|
}
|