summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index c3ac89c..7c7bd54 100644
--- a/rules.js
+++ b/rules.js
@@ -258,10 +258,6 @@ function block_home(who) {
}
function list_seats(who) {
- if (is_saladin_family(who))
- who = SALADIN;
- if (who == "Raymond (Tiberias)" || who == "Raymond (Tripoli)")
- who = "Raymond";
switch (block_type(who)) {
case 'nomads':
return [ block_home(who) ];
@@ -272,6 +268,10 @@ function list_seats(who) {
who = BLOCKS[who].name;
break;
}
+ if (is_saladin_family(who))
+ who = SALADIN;
+ if (who == "Raymond (Tiberias)" || who == "Raymond (Tripoli)")
+ who = "Raymond";
let list = [];
for (let town in SHIELDS)
if (SHIELDS[town].includes(who))