summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/rules.js b/rules.js
index d3e49aa..0eecc7f 100644
--- a/rules.js
+++ b/rules.js
@@ -2521,11 +2521,6 @@ function find_first_target_of_command(c, a) {
return game.reserve[1]
return -1
}
- if (c === S44_FREDERICK_II) {
- for (let t of card_has_rule(c, "command_sequence"))
- if (is_card_in_reserve(t))
- return t
- }
}
if (!a.target_list)
@@ -2542,11 +2537,8 @@ function find_first_target_of_command(c, a) {
function find_all_targets_of_command(c, a) {
if (game.scenario === S44_HOHENFRIEDBERG) {
- if (c === S44_CHARLES) {
- return game.reserve[1].slice()
- }
if (c === S44_FREDERICK_II) {
- for (let t of card_has_rule(S44_FREDERICK_II, "command_sequence"))
+ for (let t of a.target_list)
if (is_card_in_reserve(t))
return [ t ]
}