From 743fb4279addbd5443e08b62c583ececba7c46fb Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Thu, 9 Oct 2025 02:05:45 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 78816f2..d423afe 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -289,8 +289,18 @@ end) if settings.startup['PHI-MI'].value or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '') then script.on_event(defines.events.on_player_created, function(event) gui_create(game.players[event.player_index]) + + if settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'SS' then + game.players[event.player_index].teleport({x=0, y=0}, storage.platform.surface.name) + end end) + if settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'SS' then + script.on_event(defines.events.on_cargo_pod_finished_ascending, function(event) + event.cargo_pod.destroy() + end) + end + script.on_event(defines.events.on_gui_opened, function(event) local player = game.players[event.player_index]