Box fixes and Stealth Box in uplink (#12194)

This commit is contained in:
keronshb
2022-11-03 23:16:23 -04:00
committed by GitHub
parent e531db3f7b
commit 84413f2a4c
10 changed files with 86 additions and 8 deletions

View File

@@ -59,6 +59,7 @@ namespace Content.Client.Physics.Controllers
if (TryComp<InputMoverComponent>(player, out var mover) &&
TryComp<InputMoverComponent>(relayMover.RelayEntity, out var relayed))
{
relayed.CanMove = mover.CanMove;
relayed.RelativeEntity = mover.RelativeEntity;
relayed.RelativeRotation = mover.RelativeRotation;
relayed.TargetRelativeRotation = mover.RelativeRotation;