mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 13:56:20 +09:00
.
This commit is contained in:
+3
-9
@@ -17,16 +17,10 @@ if (settings.startup['PHI-MI'].value and settings.startup['PHI-MI-GENERIC'].valu
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function gui_create(player)
|
local function gui_create(player)
|
||||||
if player.gui.relative.phi_cl_inserter_config then
|
for _, v in pairs({'phi_cl_inserter_config', 'phi_cl_combinator_config', 'phi_cl_inserter'}) do
|
||||||
player.gui.relative.phi_cl_inserter_config.destroy()
|
if player.gui.relative[v] then
|
||||||
|
player.gui.relative[v].destroy()
|
||||||
end
|
end
|
||||||
|
|
||||||
if player.gui.relative.phi_cl_combinator_config then
|
|
||||||
player.gui.relative.phi_cl_combinator_config.destroy()
|
|
||||||
end
|
|
||||||
|
|
||||||
if player.gui.relative.phi_cl_inserter then
|
|
||||||
player.gui.relative.phi_cl_inserter.destroy()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
do
|
do
|
||||||
|
|||||||
Reference in New Issue
Block a user