aboutsummaryrefslogtreecommitdiff
path: root/lib/components/triple_frequency.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/components/triple_frequency.js')
-rw-r--r--lib/components/triple_frequency.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/components/triple_frequency.js b/lib/components/triple_frequency.js
index aa768e3..1f118b9 100644
--- a/lib/components/triple_frequency.js
+++ b/lib/components/triple_frequency.js
@@ -5,8 +5,8 @@ export default class TripleFrequency extends Component {
super(config);
- this.a = Math.random();
- this.b = Math.random();
- this.c = Math.random();
+ this.a = this.a || Math.random();
+ this.b = this.b || Math.random();
+ this.c = this.c || Math.random();
}
};