summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-09-09 20:58:43 +0200
committerTor Andersson <tor@ccxvii.net>2023-09-21 21:14:00 +0200
commit8cc0383f44a1e7bec0f5140c7f77f36ebf0040b0 (patch)
treeac6d1ea6f5326c9a054a0bbbc56d86f79523d1e1 /rules.js
parentd76855a759686208c1f9529cb0233ec519182b56 (diff)
downloadandean-abyss-8cc0383f44a1e7bec0f5140c7f77f36ebf0040b0.tar.gz
Issue #5: Fix Oil Spill event.
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 4846196..d26cff5 100644
--- a/rules.js
+++ b/rules.js
@@ -8537,7 +8537,7 @@ CODE[5 * 2 + 1] = [
// EVENT 6
CODE[6 * 2 + 0] = [
[ vm_prompt, "Select Opposition or Neutral Departments adjacent to Sabotage." ],
- [ vm_space, true, 2, 2, (s)=>is_pop(s) && !is_support(s) && is_adjacent_to_sabotage(s) ],
+ [ vm_space, true, 2, 2, (s)=>is_dept(s) && is_pop(s) && !is_support(s) && is_adjacent_to_sabotage(s) ],
[ vm_set_passive_support ],
[ vm_endspace ],
[ vm_return ],