From 1e49705b9de54ce2d9fae98d4cac5d9ed7dca84b Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Mon, 20 Oct 2025 17:55:40 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 2603aff..6dfcbb6 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -350,7 +350,7 @@ script.on_nth_tick(1800, function(_) end end) -local function handle_research_queue(combinator) +local function handle_research_queue(entity, combinator) local combinator_slot = combinator.get_slot(1) if not (combinator_slot or (combinator_slot.value and combinator_slot.value.name and combinator_slot.value.name == 'signal-SA')) then @@ -386,7 +386,7 @@ local function handle_research_queue(combinator) return end - local ls = combinator.get_signals(defines.wire_connector_id.circuit_red, defines.wire_connector_id.circuit_green) + local ls = entity.get_signals(defines.wire_connector_id.circuit_red, defines.wire_connector_id.circuit_green) if not (ls or #ls < 1) then return @@ -503,7 +503,7 @@ script.on_nth_tick(10, function(_) combinator.add_section() end - handle_research_queue(combinator.sections[1]) + handle_research_queue(entity, combinator.sections[1]) handle_valve_value(entity, combinator.sections[1]) handle_spoil_value(entity, combinator.sections[1]) end