LethalEscapeThrottle
Performance fix for LethalEscapeUpdated: adds a per-enemy cooldown to AIBridge.RequestTransition so enemies that can't reach an exit stop re-pathing and log-spamming every frame. Cuts the lag and thousands of log lines on tricky-navmesh moons.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.
