diff options
author | Brian Cully <bjc@kublai.com> | 2021-02-18 16:42:29 -0500 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2021-02-18 16:42:29 -0500 |
commit | 7dfbc8499ee964b2e2ca79d8a8039e0c262f48f5 (patch) | |
tree | a9c99708601029842e4dbdb6d5b784dd058b53bb /rules.mjs | |
parent | c7f2bd8f2c2da652baff5ebc35562f7567574c9e (diff) | |
download | molsim2-7dfbc8499ee964b2e2ca79d8a8039e0c262f48f5.tar.gz molsim2-7dfbc8499ee964b2e2ca79d8a8039e0c262f48f5.zip |
Remove Genome.size
This was originally for random genome generation, but since the
initial is hard coded now, use that instead.
Diffstat (limited to 'rules.mjs')
-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 > Genome.size) { + if (this.rules.die.value > Rules.initialGenomeBases) { this.rules.iterations-- if (this.rules.isLastIteration) { this.rules.next(new DoNothing(this.rules)) |