Uniqueness not checked when installing Runner cards from hand
This used to work, but is now broken. I believe it's because in-play? just flat out does not work. It uses (:side card) thinking that will return :runner or :corp, when it really returns "Runner" or "Corp".
Problem lies in the all-installed function. Changing the (= side :runner) to (= (side-str side) "Runner") solves the problem.
Don't change that all-installed... there are cards without unit tests that use the function. in-play? needs to call all-installed appropriately.
side-str should allow for both "Runner" and :runner to be passed in correctly. To get in-play? to call all-installed 'correctly' you would need a side-keyword function then, since the side is taken directly from the card...
Is this resolved or still hanging out there?
Still exists. On Feb 26, 2016 6:43 AM, "Joel Koepp" [email protected] wrote:
Is this resolved or still hanging out there?
— Reply to this email directly or view it on GitHub https://github.com/mtgred/netrunner/issues/1071#issuecomment-189308799.
I'm not sure--it could be an artifact of my yet-to-be-merged changes, but at this moment in dev after installing a Kati Jones I'm not able to install a second copy.
This is definitely resolved now for installs straight from hand. I'll have a solution for the cards that host and install with a full unit test of everything soon.