summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 96c375d..b1227d5 100644
--- a/rules.js
+++ b/rules.js
@@ -2046,14 +2046,20 @@ states.ops_general_move = {
pickup_british_cu() {
push_undo()
+ if (has_general_moved(game.move.who))
+ log(">>picked up CU")
++game.move.carry_british
},
pickup_american_cu() {
push_undo()
+ if (has_general_moved(game.move.who))
+ log(">>picked up CU")
++game.move.carry_american
},
pickup_french_cu() {
push_undo()
+ if (has_general_moved(game.move.who))
+ log(">>picked up CU")
++game.move.carry_french
},