summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 7bc1d0c..e48a480 100644
--- a/rules.js
+++ b/rules.js
@@ -486,7 +486,6 @@ exports.view = function (state, player) {
// === ACTIONS ===========
function gen_action(action, argument) {
- console.log('gen_action called with', action)
if (argument === undefined) {
view.actions[action] = 1
} else {
@@ -1905,7 +1904,6 @@ states.general_strike = {
},
card(card) {
push_undo()
- game.played_card = card
let find_card
find_card = game.communist_hand.indexOf(card)
game.communist_hand.splice(find_card, 1)
@@ -3461,7 +3459,8 @@ function get_card_ops(card) {
if (
game.state === 'choose_card' ||
game.state === 'stasi_play_card' ||
- game.state === 'vm_common_european_home_play'
+ game.state === 'vm_common_european_home_play' ||
+ game.state === 'general_strike'
) {
log('+1 op from Tiananmen Square Track')
}