From 147b68340e56798af478256d5c387c6dfb8b5b0d Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Wed, 21 May 2025 23:30:48 +0900 Subject: [PATCH] . --- PHI-CL/main.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/PHI-CL/main.lua b/PHI-CL/main.lua index ea1d078..d889469 100644 --- a/PHI-CL/main.lua +++ b/PHI-CL/main.lua @@ -88,7 +88,11 @@ function main.EEE(source, tier) if source.tech == 'compound-energy' then if mods['space-age'] and (not settings.startup['PHI-VP'].value) then - item.surface_conditions = {{property = 'gravity', min = 0.01}} + if not item.surface_conditions then + item.surface_conditions = {} + end + + table.insert(item.surface_conditions, {property = 'gravity', min = 0.01}) end if (source.type == 'accumulator') and item['chargable_graphics'] then