[Rseding] [0.15.16] LuaRandomGenerator inconsistency

This subforum contains all the issues which we already resolved.
Post Reply
orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

[Rseding] [0.15.16] LuaRandomGenerator inconsistency

Post by orzelek »

There seems to be inconsistency between documentation and actual behavior of random numbers generated from generator.
Currently 1 parameter version rolls [1, N] (docs say [0,N) ).
2 parameter version rolls [N1, N2] (docs say [N1, N2) ).

Please correct the docs or the code.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13204
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding] [0.15.16] LuaRandomGenerator inconsistency

Post by Rseding91 »

Thanks for noticing. The docs are now fixed for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”