Skip to content

Commit

Permalink
Fix pypp cache regen code to work with new stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Jun 30, 2024
1 parent 5a40001 commit baba5b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions prototypes/void-recipes/fluid-void.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ local function make_fluid_recipe(name, locale, icons, category, ing, subgroup)
end

for _, fluid in pairs(data.raw.fluid) do
if fluid.name == 'fluid-unknown' then goto continue end

local name
local icons

Expand All @@ -43,4 +45,6 @@ for _, fluid in pairs(data.raw.fluid) do
local ing = { type = 'fluid', name = fluid.name, amount = 20000 }
make_fluid_recipe(name, locale, icons, 'py-venting', ing, 'py-void-gas')
end

::continue::
end

0 comments on commit baba5b1

Please sign in to comment.