Skip to content

Commit

Permalink
rolling back on that minor agent cleanup optimization, it was a bad idea
Browse files Browse the repository at this point in the history
  • Loading branch information
saint11 committed Dec 20, 2024
1 parent 8a9288b commit 4f52fbe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Murder/Systems/Agents/AgentCleanupSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ 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))
Expand Down

0 comments on commit 4f52fbe

Please sign in to comment.