From dbf0218371ce006b674b0ede8e6a4d97932ff2c6 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Tue, 1 Aug 2023 01:31:25 +0100 Subject: Add footprints --- code/pawn/Player.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'code/pawn/Player.cs') 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) { -- cgit v1.2.3-70-g09d2