diff --git a/src/Murder/Systems/Agents/AgentCleanupSystem.cs b/src/Murder/Systems/Agents/AgentCleanupSystem.cs index ff251da8..26f891b6 100644 --- a/src/Murder/Systems/Agents/AgentCleanupSystem.cs +++ b/src/Murder/Systems/Agents/AgentCleanupSystem.cs @@ -25,6 +25,7 @@ public void FixedUpdate(Context context) { // Set the friction if there is no impulse e.SetFriction(agent.Friction); + continue; } if (impulse is not null && !impulse.Value.Flags.HasFlag(AgentImpulseFlags.DoNotClear))