Skip to content

Commit

Permalink
Fix crash when pyHT is not installed.
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Nov 17, 2024
1 parent 09483f0 commit 700f183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prototypes/buildings/natural-gas-derrick.lua
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ for i = 1, 4 do
{flow_direction = "output", position = {0, 3.0}, direction = defines.direction.south},
{flow_direction = "output", position = {-3.0, 0}, direction = defines.direction.west},
},
pipe_covers = table.deepcopy(data.raw["pipe-to-ground"]["ht-pipes-to-ground"].fluid_box.pipe_covers),
pipe_covers = mods.pyhightech and table.deepcopy(data.raw["pipe-to-ground"]["ht-pipes-to-ground"].fluid_box.pipe_covers) or nil,
},
energy_usage = (3 * i) .. "MW",
mining_speed = i,
Expand Down

0 comments on commit 700f183

Please sign in to comment.