removed test code

This commit is contained in:
Joey De Pauw 2019-10-08 21:09:25 +02:00
parent f3433d902d
commit 96fdb0942a
1 changed files with 0 additions and 3 deletions

View File

@ -177,9 +177,6 @@ function absorbChunk(chunk)
local totalInsertedAmount = 0.0
for _, filter in pairs(chunk.filters) do
local test = filter.get_output_inventory().insert({name="used-air-filter", count=1})
game.print("Inserted " .. test .. " items in output")
local toInsert = (getAbsorptionRate(filter) / totalAbsorptionRate) * toAbsorb
if toInsert > 0 then
local insertedAmount = filter.insert_fluid({ name = "pollution", amount = toInsert })