Scythlz-SafeDisconnect icon

SafeDisconnect

Prevents crashes on quit in Lethal Company by skipping unstable disconnect logic. Made for personal use by scythlz and friends, but feel free to try it if you're having similar issues.

Last updated 2 months ago
Total downloads 80
Total rating 0 
Categories Misc
Dependency string Scythlz-SafeDisconnect-2.2.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

SafeDisconnect

Author: scythlz
Version: 2.2.0

🛡️ What It Does

This mod prevents Lethal Company from crashing when quitting the game by bypassing certain disconnect-related logic that caused issues for us.

🧪 Why This Exists

This was made specifically for me and my friends — we kept running into crashes when quitting the game, especially with mods like LethalMoonUnlocks and Cruiser+. This mod skips some of the teardown logic we believe was responsible.

If you're experiencing similar issues, feel free to give it a try.

🔧 Features

  • Skips disconnect logic from:
    • impulse.CentralConfig
    • LethalMoonUnlocks
    • Cruiser+
  • Prevents exceptions in ResetMoons() and related logic
  • Fakes WasHostLastGame() and WasHost to avoid misreported host status

Shouldn’t interfere with other mods if you're not using those — but again, this was made for our specific crash case.

🙏 Credit

Made by scythlz. Shared here in case it helps someone else.