From cb1594bd072830d4687a121330912ecf8495a975 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 24 Oct 2024 21:51:39 +0200 Subject: Fix mistaking quebec/falmouth naval move for wilderness move. --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 54aaeac..ac6fa04 100644 --- a/rules.js +++ b/rules.js @@ -2372,7 +2372,7 @@ function end_move(stop) { function path_type(from, to) { if ((from === QUEBEC && to === FALMOUTH) || (to === QUEBEC && from === FALMOUTH)) - return "wilderness" + return (game.active === P_BRITAIN) ? "sea" : "wilderness" if (set_has(SPACES[from].path, to)) return "path" if (set_has(SPACES[from].wilderness, to)) -- cgit v1.2.3