From 91d02b2da5af0c4afc6d4140fe603dac5c716b42 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Tue, 18 Apr 2023 19:49:01 +0900 Subject: [PATCH] Update data.lua --- PHI-EN/data.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHI-EN/data.lua b/PHI-EN/data.lua index 7c9f20e..47e0f52 100644 --- a/PHI-EN/data.lua +++ b/PHI-EN/data.lua @@ -37,7 +37,7 @@ local function EE(source, tier) item.icon_size = 64 item.icon_mipmaps = 4 - if (source == 'accumulator') then + if (source.type == 'accumulator') then item.energy_source.buffer_capacity = (source.base * 4 ^ (tier - 1)) .. 'MJ' item.energy_source.input_flow_limit = (source.base * 60 * (4 ^ (tier - 1))) .. 'kW' item.energy_source.output_flow_limit = (source.base * 60 * (4 ^ (tier - 1))) .. 'kW'