summaryrefslogtreecommitdiffstats
path: root/rules.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'rules.mjs')
-rw-r--r--rules.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mjs b/rules.mjs
index 176035a..f726a5a 100644
--- a/rules.mjs
+++ b/rules.mjs
@@ -52,7 +52,7 @@ class RollForNucleotide {
}
handleDieRoll() {
- if (this.rules.die.value > Rules.initialGenomeBases) {
+ if (this.rules.die.value > Rules.initialGenomeBases.length) {
this.rules.iterations--
if (this.rules.isLastIteration) {
this.rules.next(new DoNothing(this.rules))