DestroyedClone-NoQuitMainMenu icon

NoQuitMainMenu

Temporarily removes the QUIT button from the main menu so you don't accidentally quit.

Last updated 3 years ago
Total downloads 1234
Total rating 3 
Categories Tweaks Client-side
Dependency string DestroyedClone-NoQuitMainMenu-1.0.1
Dependants 1 other package depends on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.9 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.9

README

NoQuitMainMenu

Removes the quit button temporarily from the main menu while the window is unfocused, as I and others have experienced quitting the game by accident.

Due to limitations with OnApplicationFocus, these are the times when the button is hidden

  1. Starting the game: Quit button hidden
  2. Switching to the window and back: Quit button hidden The second time you switch to the window, and for the rest of the time the game is launched, the quit button will return.

Adds a single config option to disable the whole menu instead of just the quit button (like when you accidentally click the logbook). Although it follows the same limitations as the quit button only. I guess even more of a limitation since you're stuck with just switching back and forth.

Thanks Gnome for the monobehaviour

Changelog

v1.0.1 - Quit button is only hidden once. v1.0.0 - Just removes the quit button entirely