Fix conveyors changing speed depending on the tick rate (#2424)

This commit is contained in:
DrSmugleaf
2020-10-29 09:53:31 +01:00
committed by GitHub
parent cc6acae145
commit f6fbe41e7c
2 changed files with 2 additions and 4 deletions

View File

@@ -155,7 +155,7 @@ namespace Content.Server.GameObjects.Components.Conveyor
if (entity.TryGetComponent(out IPhysicsComponent? physics))
{
var controller = physics.EnsureController<ConveyedController>();
controller.Move(direction, _speed * frameTime);
controller.Move(direction, _speed);
}
}
}