From 7cc0462c4ba6a6200fef3f9e9ae2d075002ad6b1 Mon Sep 17 00:00:00 2001 From: Brevven Date: Thu, 20 May 2021 17:41:21 -0700 Subject: [PATCH] refactor effect add --- tungsten-recipe-se.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tungsten-recipe-se.lua b/tungsten-recipe-se.lua index ae5dc58..ebcd866 100644 --- a/tungsten-recipe-se.lua +++ b/tungsten-recipe-se.lua @@ -58,7 +58,6 @@ if mods["space-exploration"] then }, }, }) - table.insert(data.raw.technology["se-processing-vulcanite"].effects, - {type = "unlock-recipe", recipe= "tungsten-smelting-vulcanite"}) + util.add_effect("se-processing-vulcanite", {type = "unlock-recipe", recipe= "tungsten-smelting-vulcanite"}) end end