mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
.
This commit is contained in:
@@ -128,10 +128,8 @@ local function apply_module(player, area, machine, module)
|
||||
local m_current_recipe = entity.get_recipe()
|
||||
|
||||
if m_current_recipe ~= nil then
|
||||
if module_allowed[m_current_recipe.name] ~= nil then
|
||||
if module_allowed[m_current_recipe.name] then
|
||||
entity.surface.create_entity{name='item-request-proxy', target=entity, position=entity.position, force=entity.force, modules=module}
|
||||
end
|
||||
if module_allowed[m_current_recipe.name] then
|
||||
entity.surface.create_entity{name='item-request-proxy', target=entity, position=entity.position, force=entity.force, modules=module}
|
||||
end
|
||||
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user