Fix GameTest.CTryComp using the server entity manager (#44230)

Fix GameTest.CTryComp using the server entity manager
This commit is contained in:
Tayrtahn
2026-06-03 17:01:14 -04:00
committed by GitHub
parent 27d23df0d1
commit 45b77c2c25
@@ -100,12 +100,12 @@ public abstract partial class GameTest
}
/// <summary>
/// Attempts to retrieve the given component from an entity on the server.
/// Attempts to retrieve the given component from an entity on the client.
/// </summary>
public bool CTryComp<T>(EntityUid? target, [NotNullWhen(true)] out T? component)
where T : IComponent
{
return SEntMan.TryGetComponent(target, out component);
return CEntMan.TryGetComponent(target, out component);
}
/// <summary>