You are viewing a potentially older version of this package. View all versions.
DestroyedClone-NoQuitMainMenu-1.0.1 icon

NoQuitMainMenu

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

Date uploaded 3 years ago
Version 1.0.1
Download link DestroyedClone-NoQuitMainMenu-1.0.1.zip
Downloads 878
Dependency string DestroyedClone-NoQuitMainMenu-1.0.1

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