summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dependencies.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/dependencies.js b/dependencies.js
index 89363d1..436645e 100644
--- a/dependencies.js
+++ b/dependencies.js
@@ -1166,10 +1166,12 @@ function SuperBlock() {
this.blockType = getData(options.model.blocktype)[0];
this.connectable = options.connectable; // Not Known
var dep_ut = getData(options.model.dep_ut);
- if (dep_ut[0] == "true")
+ if (dep_ut[0] == "true") {
this.dependsOnU = "1";
- if (dep_ut[1] == "true")
+ }
+ if (dep_ut[1] == "true") {
this.dependsOnT = "1";
+ }
this.id = options.id;
this.interfaceFunctionName = arguments.callee.caller.name;
this.ordering = options.ordering;