mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Fix GameTest.CTryComp using the server entity manager (#44230)
Fix GameTest.CTryComp using the server entity manager
This commit is contained in:
parent
27d23df0d1
commit
45b77c2c25
1 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue