From d7442133425c067be52c7fb6721885ce377390e0 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Tue, 26 May 2026 20:24:17 +0900 Subject: [PATCH] . --- PHI-CL/control/pump.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PHI-CL/control/pump.lua b/PHI-CL/control/pump.lua index 01868eb..5904069 100644 --- a/PHI-CL/control/pump.lua +++ b/PHI-CL/control/pump.lua @@ -1,11 +1,11 @@ local main = {} function main.recipe_hidden(event) - local hidden = (event.name == defines.events.on_player_cheat_mode_enabled and false) or true + local status = (event.name == defines.events.on_player_cheat_mode_enabled and false) or true for _, v in pairs(prototypes.fluid) do - if v.subgroup == 'super-pump-fluid' then - prototypes.recipe['super-pump-' .. v.name].hidden = hidden + if v.subgroup == 'fluid' then + prototypes.recipe['super-pump-' .. v.name].hidden = status end end end