mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Inline UID
This commit is contained in:
@@ -54,7 +54,7 @@ namespace Robust.Shared.Scripting
|
||||
public T gcm<T>(int i)
|
||||
{
|
||||
IEntity tempQualifier = getent(i);
|
||||
return IoCManager.Resolve<IEntityManager>().GetComponent<T>(tempQualifier.Uid);
|
||||
return IoCManager.Resolve<IEntityManager>().GetComponent<T>(tempQualifier);
|
||||
}
|
||||
|
||||
public IEntity getent(EntityUid uid)
|
||||
|
||||
Reference in New Issue
Block a user