]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix conveyor mispredicts (#28157)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Tue, 18 Jun 2024 12:11:36 +0000 (22:11 +1000)
committerGitHub <noreply@github.com>
Tue, 18 Jun 2024 12:11:36 +0000 (22:11 +1000)
commit65821c96f49186238726ad69231a35b0ea508f62
tree52115079016b96e6df8112420dd060dbf44b3ea4
parent47653f359d729a7e2cb37031504b96c97c730bc5
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
Content.Server/Physics/Controllers/ConveyorController.cs
Content.Shared/Conveyor/ActiveConveyorComponent.cs [deleted file]
Content.Shared/Conveyor/ConveyedComponent.cs [new file with mode: 0644]
Content.Shared/Conveyor/ConveyorComponent.cs
Content.Shared/Physics/Controllers/SharedConveyorController.cs
Resources/Maps/origin.yml
Resources/Prototypes/Entities/Structures/conveyor.yml