Files
wwdpublic/Content.Shared/Conveyor/ConveyedComponent.cs
metalgearsloth b096a60b88 Fix conveyor mispredicts (#28157)
* Fix conveyor mispredicts

Instead of tracking active conveyors we instead track the conveyed entities. This also handles things like stacking conveyors more gracely.

* Fix ActiveConveyor

* Fix lerping

(cherry picked from commit 65821c96f49186238726ad69231a35b0ea508f62)
2025-07-16 17:08:18 +10:00

14 lines
369 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Conveyor;
/// <summary>
/// Indicates this entity is currently being conveyed.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class ConveyedComponent : Component
{
[ViewVariables, AutoNetworkedField]
public List<EntityUid> Colliding = new();
}