sloukit / pydew-valley-uzh

Mod of Pydew Valley for an experimental study in Psychology
Creative Commons Zero v1.0 Universal
32 stars 61 forks source link

Bug: Keybinding for open inventory doesn't change closing inventory #167

Closed DangerousVanilla closed 1 month ago

DangerousVanilla commented 2 months ago

Describe the bug

Bug Description

When you change the keybinding for opening the players inventory from the default 'i' to something else - I used 'q' - the inventory closing action remains on the default keybinding instead of the new one.

Expected Behavior

Opening and closing the inventory should use the same button. When I reassign the open inventory button to 'q' I should be able to then open/close the inventory with this key.

Steps to Reproduce

  1. Start the game and go to the options menu
  2. Change the 'Open Inventory' key binding from it's default 'i' to another unused key.
  3. Attempt to use this key to open and subsequently close the inventory. You'll be able to open it but can't close it unless you use the default value of 'i' to close it or hit esc, then click the return button.

Version

0.1.0

Which aspect(s) of the project is this bug affecting?

game-ui, game-gameplay, game-playtesting

Screenshots

No response

Relevant log output

No response

Code of Conduct