Effects, random numbers, and desyncs
Posted: Fri Apr 12, 2019 10:20 pm
Are effects rendered using rendering.draw_animation() and rendering.draw_light() expected to be synchronised?
If not, how do I synchronise the state of a random number generator? As far as I can see, Lua's math.random() only lets you seed it, but there's no facility for synchronising state.
If not, how do I synchronise the state of a random number generator? As far as I can see, Lua's math.random() only lets you seed it, but there's no facility for synchronising state.