summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-07 23:56:50 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit66e471a899aaeac17237f67923af94b3d76c7041 (patch)
tree44e5e40f860f3f3fc969fec11fe09a175a64aacc
parent69fde6a18d194fd35221e42e449e6c62f9586922 (diff)
downloadplantagenet-66e471a899aaeac17237f67923af94b3d76c7041.tar.gz
fix fix play.js on data.lords.seat
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index da57a15..79a631d 100644
--- a/play.js
+++ b/play.js
@@ -283,7 +283,7 @@ function get_locale_tip(id) {
tip += " - Seaport"
let list = []
for (let lord = 0; lord < data.lords.length; ++lord) {
- if (set_has(data.lords[lord].seat, id))
+ if (data.lords[lord].seat === id)
list.push(data.lords[lord].name)
}
if (list.length > 0)