Kill Button Fixed
Unofficial fix of Kill_Button for the current (Unity 6) Content Warning: no longer breaks WASD and other keys.
CHANGELOG
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).