From 6c9d0f90483e1cb491950d5d9bd0107dddb1cba5 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 14 Nov 2025 19:21:20 +0900 Subject: [PATCH] .. --- PHI-CL/changelog.txt | 7 +++++++ PHI-CL/control.lua | 4 ++++ PHI-CL/info.json | 4 ++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/PHI-CL/changelog.txt b/PHI-CL/changelog.txt index 4624297..ea2a56d 100644 --- a/PHI-CL/changelog.txt +++ b/PHI-CL/changelog.txt @@ -1,3 +1,10 @@ +--------------------------------------------------------------------------------------------------- +Version: 3.0.131 +Date: 2025-11-23 + + Changes: + - [GM] Fixed a script issue that could cause error. + --------------------------------------------------------------------------------------------------- Version: 3.0.130 Date: 2025-11-16 diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 7f63621..07e3542 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -421,6 +421,10 @@ local function handle_research_queue(entity, combinator) end script.on_nth_tick(10, function(_) + if not storage.phi_cl.combinator.combinator_list then + return + end + local head = #storage.phi_cl.combinator.combinator_list local max_remove = math.floor(head / 100) + 1 local remove_count = math.random(0, max_remove) diff --git a/PHI-CL/info.json b/PHI-CL/info.json index 8f3764e..2fe7b2e 100644 --- a/PHI-CL/info.json +++ b/PHI-CL/info.json @@ -1,8 +1,8 @@ { "name": "PHI-CL", - "version": "3.0.130", + "version": "3.0.131", "factorio_version": "2.0", - "date": "2025-11-16", + "date": "2025-11-23", "title": "Phidias Collection", "author": "PHIDIAS0303", "contributers": "",