mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-19 13:53:12 +09:00
3.1.17
This commit is contained in:
1 parent
0d4568ab7d
commit
f5d4c700dd
3 files changed
+10
-6
No files matched your search
+2
-5
@@ -24,7 +24,7 @@ if (settings.startup['PHI-MI'].value and settings.startup['PHI-MI-GENERIC'].valu
|
||||
end
|
||||
|
||||
local function gui_create(player)
|
||||
for _, v in pairs({'phi_cl_inserter_config', 'phi_cl_combinator_config', 'phi_cl_inserter'}) do
|
||||
for _, v in pairs({'phi_cl_inserter'}) do
|
||||
if player.gui.relative[v] then
|
||||
player.gui.relative[v].destroy()
|
||||
end
|
||||
@@ -109,10 +109,7 @@ if (settings.startup['PHI-MI'].value and settings.startup['PHI-MI-GENERIC'].valu
|
||||
end
|
||||
|
||||
if settings.startup['PHI-CT'].value then
|
||||
script.on_event(defines.events.on_lua_shortcut, function(event)
|
||||
editor.toggle(event)
|
||||
end)
|
||||
|
||||
script.on_event(defines.events.on_lua_shortcut, editor.toggle)
|
||||
script.on_event(defines.events.on_player_toggled_map_editor, editor.toggle_editor)
|
||||
|
||||
script.on_event(defines.events.on_player_promoted, function(event)
|
||||
|
||||
Reference in new issue
Block a user