Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ local function getRailTypes()
end
end
end
if proto.type == "curved-rail" then
if proto.type == "curved-rail" and proto.items_to_place_this then
for _, item in pairs(proto.items_to_place_this) do
--log(serpent.block(item))
local item_proto = game.item_prototypes[item.name]
Expand Down