summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-06 13:29:28 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit5b9785d5a91f8756ffe401ac2305d49fc378478a (patch)
treebd09ad67348ba9443c6b4d6dd45dcce46b78ee1a /play.js
parent21f293f689217f36e53ba00bc5da9300ad173bc2 (diff)
downloadplantagenet-5b9785d5a91f8756ffe401ac2305d49fc378478a.tar.gz
Remove useless semicolons.
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/play.js b/play.js
index 06455a7..3ae1d61 100644
--- a/play.js
+++ b/play.js
@@ -372,14 +372,12 @@ function count_favour(type) {
for (let x = first_locale; x < last_locale; x++) {
if (data.locales[x].type !== type)
continue
-
if (view.pieces.favourl.includes(x))
n += 1
if (view.pieces.favoury.includes(x))
n -= 1
}
-
- return n;
+ return n
}
function is_vassal_ready(vassal) {