Stop caching connected tubes and discover them on each step (#1554)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#nullable enable
|
||||
using Robust.Server.GameObjects.Components.Container;
|
||||
using Robust.Shared.GameObjects.Components.Transform;
|
||||
using Robust.Shared.Interfaces.GameObjects;
|
||||
using Robust.Shared.Maths;
|
||||
|
||||
@@ -15,9 +14,7 @@ namespace Content.Server.GameObjects.Components.Disposal
|
||||
IDisposalTubeComponent? NextTube(DisposalHolderComponent holder);
|
||||
bool Remove(DisposalHolderComponent holder);
|
||||
bool TransferTo(DisposalHolderComponent holder, IDisposalTubeComponent to);
|
||||
bool AdjacentConnected(Direction direction, IDisposalTubeComponent tube);
|
||||
void AdjacentDisconnected(IDisposalTubeComponent adjacent);
|
||||
void MoveEvent(MoveEvent moveEvent);
|
||||
bool CanConnect(Direction direction, IDisposalTubeComponent with);
|
||||
void PopupDirections(IEntity entity);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user