summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 73e258a..55687c1 100644
--- a/rules.js
+++ b/rules.js
@@ -942,7 +942,7 @@ function can_play_event(c) {
return false
// Needs 19th amendment to have passed
- if ([102, 106] && !game.nineteenth_amendment)
+ if ([102, 106].includes(c) && !game.nineteenth_amendment)
return false
let cost = 0