fixed hyperparams reset
This commit is contained in:
@@ -249,8 +249,8 @@ class ControlPanel {
|
|||||||
$('#food-blocks').change( function() {
|
$('#food-blocks').change( function() {
|
||||||
Hyperparams.foodBlocksReproduction = this.checked;
|
Hyperparams.foodBlocksReproduction = this.checked;
|
||||||
});
|
});
|
||||||
$('#reset-rules').click( function() {
|
$('#reset-rules').click(() => {
|
||||||
this.setHyperparamDefaults;
|
this.setHyperparamDefaults();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user