Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes "Unbound" keybind slots sometimes not being removed (#5720)
# About the pull request Fixes keybinds sometimes getting 'Unbound' slots permanently stuck to them. This was caused by the `"clear_keybind"` act code adding the keybind to the `"Unbound"` list for every key assigned to the keybind, rather than just once. (I can't really explain this very well but there's an example video below) # Explain why it's good for the game It doesn't actually change the keybind's behaviour at all, but it's a bit weird to have an extra unremovable "Unbound" slot on some keybinds. # Testing Photographs and Procedure <details> <summary>Screenshots & Videos</summary> **Before:** https://github.com/cmss13-devs/cmss13/assets/57483089/73d9749b-239a-48b4-b85b-fb03219b370e **After:** https://github.com/cmss13-devs/cmss13/assets/57483089/7a33b93e-a776-49ef-a81c-0c4be87c9d7f </details> # Changelog :cl: fix: Fixed the 'Clear' button not resetting the number of keybind assignment slots. (Keybinds menu) /:cl:
- Loading branch information