ElfDevelop-Kill_Button_Fixed icon

Kill Button Fixed

Unofficial fix of Kill_Button for the current (Unity 6) Content Warning: no longer breaks WASD and other keys.

Last updated 5 hours ago
Total downloads 2
Total rating 0 
Categories Mods Tools Misc Emotes
Dependency string ElfDevelop-Kill_Button_Fixed-1.1.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2305

README

Kill_Button (Fixed)

Fixed by ElfDevelop

Unofficial fix of Kill_Button by ElectricSteve. All credit for the mod goes to the original author.

What was fixed (1.1.1)

  • The kill key was polled from the main menu, which created the game's input handler too early; the game then failed to bind WASD and the other vanilla keys. The key is now checked only once a local player exists.
  • The key binding is resolved lazily instead of in GlobalInputHandler.OnCreated, where the settings did not exist yet.
  • Switched from MonoMod HookGen to Harmony, so AutoHookGenPatcher is no longer required.
  • Revive heal works again (the game ignores heals of 100 or more).

Install

  • Use it instead of the original Kill_Button (same plugin GUID; if both are installed, BepInEx loads only the newer version).
  • Everyone in the lobby should use the same version.