summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-03-01 16:08:29 +0100
committerTor Andersson <tor@ccxvii.net>2024-04-13 22:45:36 +0200
commit0f59cf2ddff01b1f3e124dce7705867972124f89 (patch)
tree9d462e7319aaec48b6b162387d2733da4f5d4a76
parent7beaeae8e4c72f11477745e3dee72d14c2134162 (diff)
downloadplantagenet-0f59cf2ddff01b1f3e124dce7705867972124f89.tar.gz
stricteq
-rw-r--r--rules.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 6b78bfa..55f31d0 100644
--- a/rules.js
+++ b/rules.js
@@ -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) {