summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-04-16 00:40:49 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 11:54:52 +0100
commit487af2a47d1735f68dc3d02b80e93c3f3271ac88 (patch)
treee9600c69085b1ee1c36b6e19e4158388787c4109
parent64f2533c09ad196eafaf43cf7b08e81c29fc78c9 (diff)
downloadwilderness-war-487af2a47d1735f68dc3d02b80e93c3f3271ac88.tar.gz
Log which leaders are drawn.
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index ea944b5..ee96ab1 100644
--- a/rules.js
+++ b/rules.js
@@ -718,6 +718,8 @@ function draw_leader_from_pool() {
let i = random(game.british.pool.length);
let p = game.british.pool[i];
+ log(`Drew ${piece_name(p)} from pool.`);
+
// 5.55 If both on-map 7 leaders are besieged, return the third to the pool without substitution.
if (is_seven_command_leader(p)) {
let n = 0;