Page 1 of 1

[1.0.0] Uninitialized variable used for noise expression source_location in core/lualib/noise.lua

Posted: Mon Aug 31, 2020 2:40 am
by sparr
https://github.com/wube/factorio-data/b ... se.lua#L41

sloc doesn't exist here. This might be a mis-copy from farther down the file where similar logic exists inside tne(v,sloc) and that local exists.

Re: [1.0.0] Uninitialized variable used for noise expression source_location in core/lualib/noise.lua

Posted: Mon Aug 31, 2020 10:56 am
by kovarex
Since there is no one who understands the code currently, and it works, I'm just moving to won't fix.

Re: [1.0.0] Uninitialized variable used for noise expression source_location in core/lualib/noise.lua

Posted: Mon Aug 31, 2020 11:12 am
by Bilka
I know how the noise works, fixed for the next version.

Re: [1.0.0] Uninitialized variable used for noise expression source_location in core/lualib/noise.lua

Posted: Mon Aug 31, 2020 11:26 am
by kovarex
Great that know that someone knows it :)