mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Add joinable legacy code
This commit is contained in:
@@ -27,7 +27,7 @@ function pl.pl(type, target, amount)
|
||||
return
|
||||
end
|
||||
|
||||
local stats = target.force.item_production_statistics
|
||||
local stats = target.force.get_item_production_statistics(target.surface)
|
||||
|
||||
for k, v in pairs(config.request) do
|
||||
local v_min = math.ceil(v.min * amount)
|
||||
|
||||
Reference in New Issue
Block a user