Partial hand ECS (#5634)
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com> Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com> Co-authored-by: Paul <ritter.paul1@googlemail.com>
This commit is contained in:
@@ -183,7 +183,7 @@ namespace Content.Server.Light.EntitySystems
|
||||
if (userUid != null)
|
||||
{
|
||||
if (EntityManager.TryGetComponent(userUid.Value, out SharedHandsComponent? hands))
|
||||
hands.TryPutInActiveHandOrAny(bulb);
|
||||
hands.PutInHand(bulb);
|
||||
}
|
||||
|
||||
UpdateLight(uid, light);
|
||||
|
||||
Reference in New Issue
Block a user