GDActionNodeWait uses global RNG instead of local RNG
Closed this issue · 2 comments
nstryder commented
In the file GDActionNodeWait.gd
, randomize()
and rand_range()
is called which use the global RNG of godot. I'm not sure if this node is instantiated everytime a wait is called, but if it is, then the global RNG will get reseeded each time which interferes with the main application making use of global RNG properly.
duongvituan commented
I agree with you, func randomize() should be called from the main app.
duongvituan commented