From c19e6ac62256cd2aa2d6c2c1253a9bf28809a784 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sat, 18 Jan 2025 23:26:14 +0100 Subject: [PATCH] Fix trees not absorbing noise --- lignumis/prototypes/content/noise.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lignumis/prototypes/content/noise.lua b/lignumis/prototypes/content/noise.lua index 6698cdf..db5b72d 100644 --- a/lignumis/prototypes/content/noise.lua +++ b/lignumis/prototypes/content/noise.lua @@ -47,7 +47,7 @@ data.raw["unit"]["behemoth-spitter"].absorptions_to_join_attack.noise = 50 -- All trees absorb noise for _, tree in pairs(data.raw.tree) do - emit_constant("plant", "tree-plant", -6) + emit_constant("tree", tree.name, -6) end emit_constant("plant", "tree-plant", -6)