Cleanup: ExtensionCableSystem (#36052)

* Use Entity<T> and avoid Owner

* Use SharedMapSystem
This commit is contained in:
Tayrtahn
2025-04-15 15:01:40 -04:00
committed by GitHub
parent 968fd94bce
commit e0870d0cd2
3 changed files with 64 additions and 62 deletions

View File

@@ -13,7 +13,7 @@ namespace Content.Server.Power.Components
[DataField("transferRange")]
public int TransferRange { get; set; } = 3;
[ViewVariables] public List<ExtensionCableReceiverComponent> LinkedReceivers { get; } = new();
[ViewVariables] public List<Entity<ExtensionCableReceiverComponent>> LinkedReceivers { get; } = new();
/// <summary>
/// If <see cref="ExtensionCableReceiverComponent"/>s should consider connecting to this.