diff options
author | Brian Cully <bjc@kublai.com> | 2021-02-19 09:33:43 -0500 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2021-02-19 09:33:43 -0500 |
commit | 335ef36746c30d80f2b979050bfd40a70d4be44b (patch) | |
tree | 96bbc6802b5645cd08977c0510a793b6a58b99f1 | |
parent | 7dfbc8499ee964b2e2ca79d8a8039e0c262f48f5 (diff) | |
download | molsim2-335ef36746c30d80f2b979050bfd40a70d4be44b.tar.gz molsim2-335ef36746c30d80f2b979050bfd40a70d4be44b.zip |
Fix bug with die roll comparison for mutation skip.
-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)) |