summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-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) {