Files
tbd-station-14/Content.Server/Shuttles/Components/SpaceGarbageComponent.cs
metalgearsloth 8d46dc42e7 Add a garbage collection component for grid movement (#7776)
If we move a station and there's thousands of bullets in the way we shouldn't just indefinitely lag the server as a result.
2022-04-26 18:25:57 +10:00

9 lines
329 B
C#

namespace Content.Server.Shuttles.Components;
/// <summary>
/// Cleanup component that deletes the entity if it has a cross-grid collision.
/// Useful for small, unimportant items like bullets to avoid generating many contacts.
/// </summary>
[RegisterComponent]
public sealed class SpaceGarbageComponent : Component {}