mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-11 21:34:52 +09:00
.
This commit is contained in:
1 parent
3f3929db3a
commit
03068947a4
1 file changed
+4
-1
+4
-1
@@ -109,7 +109,10 @@ 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, editor.toggle)
|
||||
script.on_event(defines.events.on_lua_shortcut, function(event)
|
||||
editor.toggle(event)
|
||||
end)
|
||||
|
||||
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