Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
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 | a year ago |
| Total downloads | 108 |
| Total rating | 0 |
| Categories | Misc |
| Dependency string | Scythlz-SafeDisconnect-2.2.0 |
| Dependants | 2 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
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.CentralConfigLethalMoonUnlocksCruiser+
- Prevents exceptions in
ResetMoons()and related logic - Fakes
WasHostLastGame()andWasHostto 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.