Skip to content

Commit e49dabf

Browse files
committed
Add test
1 parent 36e94af commit e49dabf

File tree

4 files changed

+1137
-3
lines changed

4 files changed

+1137
-3
lines changed

lib/buildingsync/model_articulation/facility.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def create_building_systems(main_output_dir:, zone_hash: nil, hvac_delivery_type
388388

389389
# add exterior lights (returns a hash where key is lighting type and value is exteriorLights object)
390390
if add_exterior_lights
391-
if !@lighting_systems.nil?
391+
if !@lighting_systems.empty?
392392
@lighting_systems.each do |lighting_system|
393393
lighting_system.add_exterior_lights(model, open_studio_system_standard, onsite_parking_fraction, exterior_lighting_zone, remove_objects)
394394
end

0 commit comments

Comments
 (0)