cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
672 stars 265 forks source link

Swap inventory Letters UI bug #5422

Open Krwak opened 6 days ago

Krwak commented 6 days ago

Describe the bug

When assigning a letter to mp3 player or smartphone (through Swap Inventory Letters UI) in order to listen to music, the keybind gets unassigned after turning the appliance ON and OFF. This happens consistently and the keybind lasts only until this happens. This seems to happen only when playing music, when using smartphone/mp3 player or any tool that can listen to music.

Steps To Reproduce

  1. Have mp3 player or smartphone.
  2. assign keybind to them via "Swap Inventory Letters UI (default button is =)
  3. Press Use Item keybind and then press the keybind assigned to the mp3 player/smartphone in order to listen to music.
  4. Use Item again to turn the music OFF.
  5. Observe that the keybind is no longer assigned to the item in question

Screenshots

image image image image

Versions and configuration

Additional context

Longview.zip

scarf005 commented 6 days ago

possible duplicate of #4837?

Krwak commented 6 days ago

Don't think so, the other issue is mentioning that ALL hotkeys get unassigned after a few days. I didn't have this issue happen and the bug listed only affects items that can play music and only when choosing 'play music' option and the bug happens consistently and each time after turning music on and off. Tested this in vanilla world without mods and the bug persists so not an issue with my mod.

RoyalFox2140 commented 5 days ago

It's probably a specific bug related to the transform action on music as that's separate from other transform actions.