Botch VV to allow viewing remote entities that don't exist locally. (#2346)

This commit is contained in:
Vera Aguilera Puerto
2021-12-16 11:32:54 +01:00
committed by GitHub
parent c2113b5719
commit e7308efdd7
2 changed files with 6 additions and 1 deletions

View File

@@ -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
}
}