This commit is contained in:
2025-01-09 23:58:36 +09:00
parent 46f35eadcc
commit 6603a14fd3

View File

@@ -378,7 +378,7 @@ local function handle_input_interfaces()
elseif prototypes.quality[v.quality].level > 1 and v.count >= 10 then elseif prototypes.quality[v.quality].level > 1 and v.count >= 10 then
count_deduct = math.floor(v.count / 10) count_deduct = math.floor(v.count / 10)
count_add = count_deduct * (7 + (v.quality.level * 3)) count_add = count_deduct * (7 + (prototypes.quality[v.quality].level * 3))
end end
if count_deduct and count_add then if count_deduct and count_add then