data/core/lualib/util.lua has the following function:
Code: Select all
function util.combine_icons(icons1, icons2, inputs, default_icon_size)
Code: Select all
icon.scale = scale * ((icon_to_add.scale or 32.0) / icon.icon_size)
The correct line should be
Code: Select all
icon.scale = scale * (icon_to_add.scale or (32.0 / icon.icon_size))