CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.63k stars 4.18k forks source link

storing books with smartphones will let you store multiply copies of the same book #73282

Open Killa3999 opened 6 months ago

Killa3999 commented 6 months ago

Describe the bug

if you have more than one copy of a book near you when you want to store said book in a smartphone, it will let you select both books, which will then both be stored in the phone as a stack of however many times you had the book selected

Attach save file

N/A

Steps to reproduce

  1. Spawn multiple copies of the same book and a smart phone
  2. 'store books' and select all copies of the book

Expected behavior

While being able to select the same book multiple times when storing is a minor oversight at worst, the book should not actually be stored multiple times, especially considering that you can't delete books once they're stored

Screenshots

image_2024-04-25_155625923 image

Versions and configuration

Additional context

No response

AnotherSeawhite commented 6 months ago

Can confirm.

Bobtron commented 6 months ago

/confirmed