summaryrefslogtreecommitdiff
path: root/js/Branching/M_SWITCH.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/M_SWITCH.js')
-rw-r--r--js/Branching/M_SWITCH.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/Branching/M_SWITCH.js b/js/Branching/M_SWITCH.js
index 7bfe6570..eae88075 100644
--- a/js/Branching/M_SWITCH.js
+++ b/js/Branching/M_SWITCH.js
@@ -22,6 +22,9 @@ function M_SWITCH() {
M_SWITCH.prototype.get = function M_SWITCH() {
}
M_SWITCH.prototype.set = function M_SWITCH() {
+ this.nin = parseFloat((arguments[0]["nin"]))
+ this.base = parseFloat((arguments[0]["base"]))
+ this.rule = parseFloat((arguments[0]["rule"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;