Fix ThrownItemComponent's Thrower not being synced with the client.

- Fixes throwing banana peels making people become horizontal... On the client only.
This commit is contained in:
Vera Aguilera Puerto
2021-10-12 21:58:11 +02:00
parent 26c77a0d0b
commit 95c78020f6
4 changed files with 38 additions and 3 deletions

View File

@@ -125,7 +125,7 @@ namespace Content.Shared.Stunnable
if (!_standingStateSystem.Down(uid, standingState:standingState, appearance:appearance))
return;
stunnable.KnockdownTimer = (_gameTiming.CurTime, _gameTiming.CurTime + time);;
stunnable.KnockdownTimer = (_gameTiming.CurTime, _gameTiming.CurTime + time);
SetAlert(uid, stunnable, alerts);
@@ -144,8 +144,8 @@ namespace Content.Shared.Stunnable
// Optional component.
Resolve(uid, ref alerts, false);
Stun(uid, time, stunnable, alerts);
Knockdown(uid, time, stunnable, alerts);
Stun(uid, time, stunnable, alerts);
}
/// <summary>