diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2023-08-01 01:31:25 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2023-08-01 01:31:25 +0100 |
| commit | dbf0218371ce006b674b0ede8e6a4d97932ff2c6 (patch) | |
| tree | a865e7ff8e9f65579435b951a0c2ceffd8237c61 /code/pawn/Player.cs | |
| parent | ca0d44610b6216f82fcf8f5830d445963654db64 (diff) | |
Add footprints
Diffstat (limited to 'code/pawn/Player.cs')
| -rw-r--r-- | code/pawn/Player.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/code/pawn/Player.cs b/code/pawn/Player.cs index 7073bb1..7254023 100644 --- a/code/pawn/Player.cs +++ b/code/pawn/Player.cs @@ -47,6 +47,7 @@ public partial class Player : AnimatedEntity [BindComponent] public AnimatorComponent Animator { get; }
[BindComponent] public InventoryComponent Inventory { get; }
[BindComponent] public FallDamageComponent FallDamage { get; }
+ [BindComponent] public FootprintTrackerComponent FootprintTracker { get; }
[Net]
public Ragdoll PlayerRagdoll { get; set; }
@@ -179,6 +180,7 @@ public partial class Player : AnimatedEntity Animator?.Simulate();
Inventory?.Simulate( cl );
FallDamage?.Simulate( cl );
+ FootprintTracker?.Simulate( cl );
if (Game.IsServer && Camera is not SpectatorCameraComponent && LifeState == LifeState.Dead && TimeSinceDeath > 3.5)
{
|
