From bb7b47e1c206f8578e4d27d02258121c3226e426 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Tue, 26 May 2026 21:38:51 +0900 Subject: [PATCH] . --- PHI-CL/control/pump.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHI-CL/control/pump.lua b/PHI-CL/control/pump.lua index ca9a49c..7f10e7e 100644 --- a/PHI-CL/control/pump.lua +++ b/PHI-CL/control/pump.lua @@ -1,7 +1,7 @@ local main = {} function main.recipe_hidden(event) - local status = (event.name ~= defines.events.on_player_cheat_mode_enabled) + local status = game.players[event.player_index].cheat_mode for _, v in pairs(prototypes.fluid) do if v.subgroup == 'fluid' then