Fix crash when basic circuit boards are disabled

This commit is contained in:
Simon Brodtmann 2025-12-24 08:17:05 +01:00
parent 4171ec89c5
commit 6a20f7d618

View file

@ -464,7 +464,7 @@ if not basic_circuit_board then
:assign({
localised_name = { "entity-name.wood-splitter" },
icons = {
{ icon = gfx .. "wood-splitter-icon.png" },
{ icon = Lignumis.graphics .. "icons/wood-splitter.png" },
{ icon = "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } }
}
})