From c46e73434c3819d3f2b043be95af123c498d5bd6 Mon Sep 17 00:00:00 2001 From: Bing Shearer Date: Mon, 27 Jul 2015 11:59:09 -0700 Subject: [PATCH] Added small fix to error message code --- examples/leaves.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/leaves.js b/examples/leaves.js index af3c2f0e23..4610cd2ef0 100755 --- a/examples/leaves.js +++ b/examples/leaves.js @@ -100,7 +100,7 @@ var leafSquall = function (properties) { } if (properties.hasOwnProperty("windFactor")) { windFactor = properties.windFactor; - } else { + } else if (complexMovement == true){ print("ERROR: Wind Factor must be defined for complex movement") }