mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Botch VV to allow viewing remote entities that don't exist locally. (#2346)
This commit is contained in:
committed by
GitHub
parent
c2113b5719
commit
e7308efdd7
@@ -196,6 +196,10 @@ namespace Robust.Shared.GameObjects
|
||||
private TransformComponent? Transform =>
|
||||
IoCManager.Resolve<IEntityManager>().GetComponentOrNull<TransformComponent>(this);
|
||||
|
||||
// This might seem useless, but it allows you to retrieve remote entities that don't exist on the client.
|
||||
[ViewVariables]
|
||||
private EntityUid Uid => this;
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user