Lethal Company
Install

Details

Last Updated
First Uploaded
Downloads
8.6K
Likes
1
Size
11KB
Dependency string
CutyIMoDo-ShipBoundaryFix-1.0.1
Dependants

Categories

ShipBoundaryFix

Fixes ship-area stutter/freeze when using Wider Ship Mod (+ 2 Story Ship) together with WesleysInteriors.

The Problem

When WesleysInteriors is installed alongside Wider Ship Mod, all players experience periodic stuttering near the left and right sides of the extended ship. CPU usage drops during the stutter, indicating main thread blocking rather than high computation.

How It Works

This mod applies two patches:

  1. AudioReverbTrigger Throttle — Limits ChangeAudioReverbForPlayer to execute at most once every 0.3 seconds, preventing rapid-fire calls at the ship boundary.
  2. Ship Boundary Debounce — Prevents rapid inside/outside state flipping in SetPlayerInsideShip when standing at the edge of the extended ship area (0.5 second debounce).

Installation

  1. Install with r2modman or manually place ShipBoundaryFix.dll in BepInEx/plugins/.
  2. That's it. No configuration needed.

Compatibility

  • Wider Ship Mod 1.4.3+
  • 2 Story Ship 2.1.5+
  • WesleysInteriors 4.1.15+
  • Should be compatible with all other mods.

Note

This is a workaround, not a root cause fix. The underlying issue is in how WesleysInteriors' registered triggers interact with Wider Ship Mod's expanded ship boundaries.

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