Skip to content

Commit

Permalink
Merge pull request #7256 from butzopower/dont-sort-when-order-important
Browse files Browse the repository at this point in the history
Don't sort choices when deck is not shuffled
  • Loading branch information
NoahTheDuke authored Jan 6, 2024
2 parents f1dc9e2 + 5003263 commit fbbf68c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/clj/game/cards/agendas.clj
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
:req (req (not-empty (:deck corp)))
:effect (effect (continue-ability
{:prompt "Choose a card to install"
:choices (cancellable (filter corp-installable-type? (take 5 (:deck corp))) :sorted)
:choices (cancellable (filter corp-installable-type? (take 5 (:deck corp))))
:async true
:effect (effect (corp-install eid target nil
{:ignore-all-cost true
Expand Down
2 changes: 1 addition & 1 deletion src/clj/game/cards/operations.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,7 @@
:choices
(cancellable (filter #(and (corp-installable-type? %)
(some #{"New remote"} (installable-servers state %)))
top-five) :sorted)
top-five))
:msg "install a card from the top of the R&D in a remote server"
:effect (effect (continue-ability (install-card target) card nil))
:cancel-effect (effect (system-msg (str "declines to use " (get-title card) " to install a card from the top of R&D"))
Expand Down

0 comments on commit fbbf68c

Please sign in to comment.