mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-14 05:34:52 +09:00
.
This commit is contained in:
1 parent
bb637beff5
commit
736b4daa77
1 file changed
+4
-10
+4
-10
@@ -17,16 +17,10 @@ if (settings.startup['PHI-MI'].value and settings.startup['PHI-MI-GENERIC'].valu
|
||||
end
|
||||
|
||||
local function gui_create(player)
|
||||
if player.gui.relative.phi_cl_inserter_config then
|
||||
player.gui.relative.phi_cl_inserter_config.destroy()
|
||||
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()
|
||||
for _, v in pairs({'phi_cl_inserter_config', 'phi_cl_combinator_config', 'phi_cl_inserter'}) do
|
||||
if player.gui.relative[v] then
|
||||
player.gui.relative[v].destroy()
|
||||
end
|
||||
end
|
||||
|
||||
do
|
||||
|
||||
Reference in new issue
Block a user