summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-24 21:51:39 +0200
committerTor Andersson <tor@ccxvii.net>2024-10-24 21:51:39 +0200
commitcb1594bd072830d4687a121330912ecf8495a975 (patch)
tree21ce229c4e2b02a8166ab306077ddb9bf793b3bc /rules.js
parent413caa41305cf4a1911e1163c2a44633ce582d38 (diff)
downloadwashingtons-war-cb1594bd072830d4687a121330912ecf8495a975.tar.gz
Fix mistaking quebec/falmouth naval move for wilderness move.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
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))