summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-27 17:45:19 +0000
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-27 17:45:19 +0000
commit8f83dd64c05b7313008970d8947c9fc2abe0766a (patch)
treee749d34e83cd0af6c74b510df27617bcbce6cd20
parent6e919cd136613fb09ca9267293452563da58516f (diff)
downloadvotes-for-women-8f83dd64c05b7313008970d8947c9fc2abe0766a.tar.gz
doh
-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