diff options
-rw-r--r-- | rules.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |