This PR fixes the inventory closing not being responsive to keybind changes as described in issue #167 .
Closing the inventory was hardcoded and therefore didn't change when the keybinding for opening the inventory was changed.
Checklist
[x] I have tested this change locally and it works as expected.
[x] I have made sure that the code follows the formatting and style guidelines of the project.
Summary
This PR fixes the inventory closing not being responsive to keybind changes as described in issue #167 . Closing the inventory was hardcoded and therefore didn't change when the keybinding for opening the inventory was changed.
Checklist
Labels
type: bugfix