Files
Bubberstation/code/modules/cards
_0Steven 6268b8d40a Fix newly created cardhands not inheriting singlecard offsets (#84838)
## About The Pull Request

So while working on another pr, I noticed every time I used a deck to
click on a single card, it'd create a cardhand... that's centered on the
table.
Looking into it, I noticed we already have code for it... but it doesn't
work?
This seems to be because we copy over the `pixel_x` and `pixel_y` values
AFTER we insert the card into the cardhand:

cb5a5c1c69/code/modules/cards/singlecard.dm (L172-L176)
Swapping these around fixes it.
## Why It's Good For The Game

It's kinda awkward to play card games around a single table if all your
newly created cardhands decide to take up the same space on the table.
## Changelog
🆑
fix: Using a dual wielded deck to add another card to a single card
bases the position of the resulting hand of cards on the position of the
card.
/🆑
2024-07-11 02:10:18 +02:00
..
2024-04-23 15:33:43 -06:00