This commit is contained in:
2026-06-20 14:04:58 +09:00
parent 9a2a6dfcba
commit 3778d9a92a
+2 -2
View File
@@ -30,8 +30,8 @@ function main.get_belt_penalty(belt_speed, stack_size)
end end
--[[ --[[
* (prototype.inserter_max_belt_stack_size or 1) (prototype.inserter_max_belt_stack_size or 1)
* (entity.force.belt_stack_size_bonus or 1) (entity.force.belt_stack_size_bonus or 1)
]] ]]
function main.calc(entity) function main.calc(entity)
local prototype = entity.type == 'entity-ghost' and entity.ghost_prototype or entity.prototype local prototype = entity.type == 'entity-ghost' and entity.ghost_prototype or entity.prototype