summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-08-13 01:28:31 +0200
committerTor Andersson <tor@ccxvii.net>2024-08-13 01:28:31 +0200
commit778582e533b7800c4b802045cef7fb279aa626fa (patch)
tree10a98ce796ac8d1ffc9264c1e541c7025fec95dc
parent5ecc8b276839811d7d665dd3595cbe641bbaaf7b (diff)
downloadrichard-iii-778582e533b7800c4b802045cef7fb279aa626fa.tar.gz
Fix silly typo with piracy + regroup.
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 098ceaa..e15c0d8 100644
--- a/rules.js
+++ b/rules.js
@@ -2715,7 +2715,7 @@ function goto_regroup() {
}
function is_attacker_with_piracy() {
- game.active === game.piracy && game.active === game.attacker[game.where]
+ return game.active === game.piracy && game.active === game.attacker[game.where]
}
states.regroup = {