Skip to content

Commit 0373d72

Browse files
authored
Merge pull request #1219 from grilledham/fix_blueprint_concrete
Fix placing blueprint refined concrete on blue-refined-concrete.
2 parents 0692b9b + 02f9436 commit 0373d72

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

map_gen/maps/danger_ores/modules/concrete_on_landfill.lua

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,7 @@ return function(config)
9797

9898
local function built_entity(event)
9999
local entity = event.created_entity
100-
if not entity or not entity.valid or entity.name ~= 'tile-ghost' then
101-
return
102-
end
103-
104-
local item = event.item
105-
if not item or not item.valid or not brush_tools[item.name] then
100+
if not entity or not entity.valid or entity.name ~= 'tile-ghost' or not brush_tools[entity.ghost_name] then
106101
return
107102
end
108103

0 commit comments

Comments
 (0)