@adatechnology/game-floorplan-structure 1.1.1 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1231,7 +1231,7 @@ function buildStructure(source, options = {}) {
1231
1231
  addPorchRoofs(context);
1232
1232
  addExteriorSteps(context);
1233
1233
  addStairs(context);
1234
- addRoof(context);
1234
+ if (options.roof !== false) addRoof(context);
1235
1235
  if (refined) addDoorLintels(context);
1236
1236
  addWaterTank(context);
1237
1237
  addChimney(context);