mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-25 21:53:12 +09:00
.
This commit is contained in:
1 parent
736b4daa77
commit
a7f8915767
1 file changed
+1
-5
+1
-5
@@ -34,11 +34,7 @@ local function gui_update(player, entity)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if entity.type and entity.type ~= 'inserter' then
|
if entity.type and (entity.type ~= 'inserter' or (entity.type == 'entity-ghost' and entity.ghost_type ~= 'inserter')) then
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
if entity.type and entity.type == 'entity-ghost' and entity.ghost_type ~= 'inserter' then
|
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user