summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-12-19 00:27:00 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commit86fc17fbd5345ce96b5e623e1c8485e113017c3f (patch)
tree63cea7b53a36865bcda071ff7e5e4cdc3604fab2
parent0dcf6214d6550f2690284dcdf922678fc94d3f12 (diff)
downloadnevsky-86fc17fbd5345ce96b5e623e1c8485e113017c3f.tar.gz
Fixes.
-rw-r--r--play.html6
-rw-r--r--rules.js4
2 files changed, 6 insertions, 4 deletions
diff --git a/play.html b/play.html
index 3639169..20df052 100644
--- a/play.html
+++ b/play.html
@@ -522,8 +522,10 @@ body.shift .mustered_vassals {
filter: brightness(80%);
}
-.card.action.teutonic { background-color: #e1e6e8; box-shadow: 0 0 0 1px #666a6c, 0 0 0 3px white; }
-.card.action.russian { background-color: #e1d6c1; box-shadow: 0 0 0 1px #665c4a, 0 0 0 3px white; }
+.tuck_under_map .card.action.teutonic { background-color: #e1e6e8; box-shadow: 0 0 0 1px #666a6c, 0 0 0 3px white; }
+.tuck_under_map .card.action.russian { background-color: #e1d6c1; box-shadow: 0 0 0 1px #665c4a, 0 0 0 3px white; }
+.mat .card.action.teutonic { background-color: #e1e6e8; box-shadow: 0 0 0 1px #666a6c, 0 0 0 3px white; }
+.mat .card.action.russian { background-color: #e1d6c1; box-shadow: 0 0 0 1px #665c4a, 0 0 0 3px white; }
.card.selected.teutonic { background-color: #e1e6e8; box-shadow: 0 0 0 1px #666a6c, 0 0 0 3px yellow; }
.card.selected.russian { background-color: #e1d6c1; box-shadow: 0 0 0 1px #665c4a, 0 0 0 3px yellow; }
diff --git a/rules.js b/rules.js
index f173778..bd049a5 100644
--- a/rules.js
+++ b/rules.js
@@ -2492,11 +2492,11 @@ states.papal_legate_active = {
lord(lord) {
push_undo()
+ let here = game.pieces.legate
+
game.pieces.legate = LEGATE_ARRIVED
game.state = "papal_legate_done"
- let here = game.pieces.legate
-
if (is_lord_ready(lord)) {
log(`Mustered L${lord}`)
logii(`at %${here}`)