Singulo eats unpowered containment gens (#8343)

This commit is contained in:
wrexbe
2022-05-26 17:35:19 -07:00
committed by GitHub
parent 821df271c4
commit 33c03fa0a0
3 changed files with 6 additions and 9 deletions

View File

@@ -55,8 +55,8 @@ namespace Content.Server.Singularity.Components
private Tuple<Direction, ContainmentFieldConnection>? _connection1;
private Tuple<Direction, ContainmentFieldConnection>? _connection2;
public bool CanRepell(EntityUid toRepell) => _connection1?.Item2?.CanRepell(toRepell) == true ||
_connection2?.Item2?.CanRepell(toRepell) == true;
public bool CanRepel(SharedSingularityComponent toRepel) => _connection1?.Item2?.CanRepel(toRepel) == true ||
_connection2?.Item2?.CanRepel(toRepel) == true;
public void OnAnchoredChanged()
{