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") }