diff options
-rwxr-xr-x | create-data.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/create-data.js b/create-data.js index 412e4d0..2fc85a3 100755 --- a/create-data.js +++ b/create-data.js @@ -643,6 +643,10 @@ function createBuildingParts(buildings, callback) { partLevels = [ partLevels ]; } + if (typeof(partLevels) === "undefined") { + continue; + } + //console.log("part levels " + JSON.stringify(partLevels)); possibleLevels = partLevels.filter(function(possibility) { |