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