summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/rules.js b/rules.js
index 6078ef4..4733b6b 100644
--- a/rules.js
+++ b/rules.js
@@ -1730,20 +1730,9 @@ function total_discard_list() {
return discard
}
-function log_draw_tc(k, pow) {
- if (pow >= 0 && k >= 0) {
- if (pow !== game.power)
- log(`${power_name[pow]} ${k} TC (subsidy).`)
- else
- log(`${power_name[pow]} ${k} TC.`)
- }
-}
-
function draw_tc(draw, n) {
- let k = 0
while (n > 0) {
if (game.deck.length === 0) {
- k = 0
next_tactics_deck()
if (game.deck.length === 0) {
log("The cards ran out!")
@@ -1751,7 +1740,6 @@ function draw_tc(draw, n) {
}
}
set_add(draw, game.deck.pop())
- ++k
--n
}
}