Lethal Company
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
yesterday
Downloads
89
Size
15KB
Dependency string
pierre67-LethalEscapeThrottle-1.0.0

LethalEscapeThrottle

A small performance fix for LethalEscapeUpdated.

Enemies that can't reach an exit (common on tricky-navmesh moons) re-run AIBridge.RequestTransition every frame — each call doing a NavMesh path calc plus several log lines. Over a round this stacks up into real frame-time cost and tens of thousands of log lines.

This mod adds a small per-enemy cooldown: a failed escape attempt isn't retried until CooldownSeconds later. Successful transitions succeed on the first try and are unaffected.

Config

  • Enabled — toggle the throttle.
  • CooldownSeconds — how long (default 2.0) before a failed attempt is retried.

Credits

Made by Pierre. Requires LethalEscapeUpdated by woah25.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.