From 03068947a487af8e3e1426b634f89b03bc834025 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 28 Aug 2026 20:06:24 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 955146d..b11948b 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -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)