mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
Merge pull request #1219 from grilledham/fix_blueprint_concrete
Fix placing blueprint refined concrete on blue-refined-concrete.
This commit is contained in:
commit
0373d7252a
@ -97,12 +97,7 @@ return function(config)
|
||||
|
||||
local function built_entity(event)
|
||||
local entity = event.created_entity
|
||||
if not entity or not entity.valid or entity.name ~= 'tile-ghost' then
|
||||
return
|
||||
end
|
||||
|
||||
local item = event.item
|
||||
if not item or not item.valid or not brush_tools[item.name] then
|
||||
if not entity or not entity.valid or entity.name ~= 'tile-ghost' or not brush_tools[entity.ghost_name] then
|
||||
return
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user