Disable Undercutting

This commit is contained in:
avirar
2025-07-25 15:53:59 +10:00
committed by GitHub
parent 2e5c1cc024
commit e70470b91a
+1 -1
View File
@@ -390,7 +390,7 @@ end
function undercut(record, stack_size, stack)
local price = ceil(record.unit_price * (stack and record.stack_size or stack_size))
if not record.own then
price = price - 1
--price = price - 1
end
return price / stack_size
end