Re-do InteractionSystem IEntity -> EntityUid conversion (#5767)
This commit is contained in:
committed by
GitHub
parent
fe1836c99d
commit
e3478f894e
@@ -892,6 +892,7 @@ namespace Content.Shared.Hands.Components
|
||||
[ViewVariables]
|
||||
public IContainer? Container { get; set; }
|
||||
|
||||
// TODO: Make this a nullable EntityUid...
|
||||
[ViewVariables]
|
||||
public EntityUid HeldEntity => Container?.ContainedEntities.FirstOrDefault() ?? EntityUid.Invalid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user