Skip to content

Commit

Permalink
small code cleanup
Browse files Browse the repository at this point in the history
judos committed Apr 2, 2017
1 parent 7f46cd3 commit 1424735
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/prototypes/incinerator-recipes.lua
Original file line number Diff line number Diff line change
@@ -22,8 +22,7 @@ for _,typ in pairs(types) do
end

--If the item is a raw material and has a fuel value, dont create an incinerator recipe for it.
if itemTable.subgroup == "raw-material" and fuelValue > 0 then
else
if itemTable.subgroup ~= "raw-material" or fuelValue == 0 then
data:extend({
{
type = "recipe",

0 comments on commit 1424735

Please sign in to comment.