From aa59cf79a4348677bce346140240350f8d1a4e31 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 11 Apr 2025 16:28:21 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index de3a9bb..739fddc 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -80,7 +80,9 @@ if settings.startup['PHI-CT'].value then end end end) +end +if settings.startup['PHI-CT'].value or settings.startup['PHI-MI'].value or (settings.startup['PHI-SA'].value and settings.startup['PHI-SA-RESTRICTION'].value) or (settings.startup['PHI-VP'].value and settings.startup['PHI-VP-MAIN'].value) then function gui_create(player) if player.gui.relative.inserter_config then player.gui.relative.inserter_config.destroy() @@ -103,17 +105,6 @@ if settings.startup['PHI-CT'].value then end script.on_init(function(_) - for _, surface in pairs(game.surfaces) do - for _, e in pairs(surface.find_entities_filtered{name='trash-chest'}) do - e.infinity_container_filters = {} - e.remove_unfiltered_items = true - end - - for _, e in pairs(surface.find_entities_filtered{name='trash-pipe'}) do - e.set_infinity_pipe_filter(nil) - end - end - for _, player in pairs(game.players) do gui_create(player) end