From b8ff28604e92328a4e3cf79b397d76ed4a4ee895 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Thu, 15 May 2025 18:40:40 +0900 Subject: [PATCH] . --- PHI-CL/data.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PHI-CL/data.lua b/PHI-CL/data.lua index bad4e7a..67e9929 100644 --- a/PHI-CL/data.lua +++ b/PHI-CL/data.lua @@ -425,7 +425,9 @@ if mods['space-age'] and ((settings.startup['PHI-SA'].value and settings.startup end for _, v in pairs({data.raw['unit-spawner'], data.raw['unit']}) do - v.max_health = v.max_health / q_s + if v.max_health then + v.max_health = v.max_health / q_s + end end data.raw['tips-and-tricks-item']['quality'] = nil