From ab24f1c4a17f9dfcdbd8f69d15c914dfdaef7713 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Thu, 27 Mar 2025 19:27:49 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 90689bc..ad382ef 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -53,7 +53,9 @@ if settings.startup['PHI-CT'].value then script.on_event(defines.events.on_player_cheat_mode_enabled, hidden_recipe_enable) script.on_event(defines.events.on_player_cheat_mode_disabled, hidden_recipe_enable) + script.on_init(trash_check) + --[[ local gui = {} local inserter_utils = {} math2d.direction = {vectors = {{x = 0, y = -1}, {x = 1, y = -1}, {x = 1, y = 0}, {x = 1, y = 1}, {x = 0, y = 1}, {x = -1, y = 1}, {x = -1, y = 0}, {x = -1, y = -1}}} @@ -262,4 +264,5 @@ if settings.startup['PHI-CT'].value then end end end) + ]] end