Defer MoveEvent out of TransformComponent.HandleComponentState (#1453)

* Defer MoveEvent out of TransformComponent.HandleComponentState

* Imports

* Make the update loop more readable and call ToArray

* Fix tests

* Fix tests HALLELUJAH
This commit is contained in:
DrSmugleaf
2020-12-19 13:09:16 +01:00
committed by GitHub
parent 6e931ac175
commit 58560f589f
4 changed files with 53 additions and 5 deletions
@@ -16,7 +16,7 @@ namespace Robust.Client.GameObjects.EntitySystems
/// Handles interpolation of transform positions.
/// </summary>
[UsedImplicitly]
internal sealed class TransformSystem : EntitySystem
internal sealed class TransformSystem : SharedTransformSystem
{
// Max distance per tick how far an entity can move before it is considered teleporting.
// TODO: Make these values somehow dependent on server TPS.