summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-05-15 18:11:38 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:31:29 +0100
commit8363c36de5fb89de48a1c9fd860207294d428624 (patch)
tree9fab9d4a038589739a7fe97934e9201868cb7a69
parent08af731fc5853520a0cb5a4750b468bebc51374b (diff)
downloadpax-pamir-8363c36de5fb89de48a1c9fd860207294d428624.tar.gz
Remove stray line when checking Taxability.
-rw-r--r--rules.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/rules.js b/rules.js
index 6b2959a..937e924 100644
--- a/rules.js
+++ b/rules.js
@@ -1,9 +1,5 @@
"use strict";
-// TODO: check all card data
-// TODO: log helpers - piece name (army/road/tribe color/coalition)
-// TODO: check if actions are possible: Tax, Move, Battle
-
let cards = require("./cards.js");
const Afghan = 'Afghan';
@@ -1436,8 +1432,7 @@ function active_can_tax() {
let claim = active_has_claim_of_ancient_lineage();
for (let p = 0; p < game.players.length; ++p)
if (p !== game.active && can_tax_player(game.active, p, claim))
- gen_action('player_' + p)
- return true;
+ return true;
return false;
}