Page 1 of 1

[Rseding91] [0.17.38] Crash when reading flow stats

Posted: Tue May 14, 2019 12:32 am
by Qon
Running this code crashes the game every time:

Code: Select all

local flow = game.pollution_statistics
    local bitspwn_flow = flow.get_flow_count{name = 'biter-spawner', input = false,
        precision_index = defines.flow_precision_index.one_second, count = true}

Re: [0.17.38] Crash when reading flow stats

Posted: Tue May 14, 2019 7:08 am
by Rseding91
Thanks for the report. It's now fixed for the next version of 0.17.

Re: [Rseding91] [0.17.38] Crash when reading flow stats

Posted: Tue May 14, 2019 5:07 pm
by Qon
Thanks for the super quick fix! Solved after a few hours and patch live after a handful of hours more is amazing! :!:
I have a brand new requested mod that will use this.
(pollution that is absorbed by nests instead of just produced and similar factors can be qonfigured to affect polution)
<3