summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-02-15 15:47:07 +0100
committerTor Andersson <tor@ccxvii.net>2024-02-15 15:47:07 +0100
commit89936923be57e49a81b868fb257be78908b25e07 (patch)
tree78b7d3ca2c5c7807d616cfa55b4c11d1c8a1a892
parent84e21a0ab351ad76b5dcf85bea51a83bb9239cf5 (diff)
downloadandean-abyss-89936923be57e49a81b868fb257be78908b25e07.tar.gz
Fix free assault during Patrol being able to target cities.
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 896b15a..dcf9b20 100644
--- a/rules.js
+++ b/rules.js
@@ -3376,7 +3376,7 @@ function can_patrol_assault() {
}
function can_patrol_assault_space(s) {
- return has_assault_target(s) && has_cube(s)
+ return is_loc(s) && has_assault_target(s) && has_cube(s)
}
states.patrol_assault = {