Changes required for engine PR (#23488)
This commit is contained in:
@@ -524,7 +524,7 @@ public abstract partial class InteractionTest
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Assert whether or not the target has the given component.
|
/// Assert whether or not the target has the given component.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected void AssertComp<T>(bool hasComp = true, NetEntity? target = null)
|
protected void AssertComp<T>(bool hasComp = true, NetEntity? target = null) where T : IComponent
|
||||||
{
|
{
|
||||||
target ??= Target;
|
target ??= Target;
|
||||||
if (target == null)
|
if (target == null)
|
||||||
@@ -1120,6 +1120,6 @@ public abstract partial class InteractionTest
|
|||||||
|
|
||||||
protected EntityCoordinates Position(NetEntity uid) => Position(ToServer(uid));
|
protected EntityCoordinates Position(NetEntity uid) => Position(ToServer(uid));
|
||||||
protected EntityCoordinates Position(EntityUid uid) => Xform(uid).Coordinates;
|
protected EntityCoordinates Position(EntityUid uid) => Xform(uid).Coordinates;
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user