kyzfrintin / Godot-Mixing-Desk

A complete audio solution for Godot 3.3.x, making procedural sound and adaptive/procedural music possible with a few nodes and a couple lines of code.
MIT License
636 stars 32 forks source link

typo in func _get_ransnd #8

Closed mjollna-wow closed 4 years ago

mjollna-wow commented 4 years ago

Hello!

It seems that around line 50 in several of the files (ran_cont.gd in 2D and 3D folders), var chance = randi() % children - 1 should be var chance = randi() % (children - 1)

It makes the script crash otherwise.

Thank you very much for this addon, it's very useful :)

kyzfrintin commented 4 years ago

Just added that little fix now. Thanks for pointing this out :)