This commit is contained in:
2025-10-18 03:40:44 +09:00
parent 5554f7f716
commit be35700b43

View File

@@ -499,14 +499,13 @@ script.on_nth_tick(10, function(_)
local combinator = entity.get_or_create_control_behavior()
if combinator and combinator.sections_count then
if combinator.sections_count > 0 then
if combinator.sections_count == 0 then
combinator.add_section()
end
handle_research_queue(combinator.sections[1])
handle_valve_value(entity, combinator.sections[1])
handle_spoil_value(entity, combinator.sections[1])
else
combinator.add_section()
end
end
end
end