From 86fc17fbd5345ce96b5e623e1c8485e113017c3f Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 19 Dec 2022 00:27:00 +0100 Subject: Fixes. --- play.html | 6 ++++-- rules.js | 4 ++-- 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}`) -- cgit v1.2.3