diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-03-01 16:08:29 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-13 22:45:36 +0200 |
commit | 0f59cf2ddff01b1f3e124dce7705867972124f89 (patch) | |
tree | 9d462e7319aaec48b6b162387d2733da4f5d4a76 | |
parent | 7beaeae8e4c72f11477745e3dee72d14c2134162 (diff) | |
download | plantagenet-0f59cf2ddff01b1f3e124dce7705867972124f89.tar.gz |
stricteq
-rw-r--r-- | rules.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1287,14 +1287,14 @@ function is_sea(loc) { } function is_favour_friendly(loc) { - if (game.active == YORK) + if (game.active === YORK) return has_favoury_marker(loc) else return has_favourl_marker(loc) } function is_favour_enemy(loc, side) { - if (side == LANCASTER) + if (side === LANCASTER) return has_favoury_marker(loc) else return has_favourl_marker(loc) @@ -7686,7 +7686,7 @@ function check_naval_blockade(action, locale) { } if (action === "campaign parley" && data.locales[locale].adjacent.includes(get_lord_locale(game.command))) { - return false + return false } for (let port of ports) { |