I'm having problems generating a random integer number from 0 to 12.
I'm new to gdscript and game engines in general, but even though the use of the
randi() function should be easy, I can't make it work, since writing the following code doesn't work:
var random = randi() % 13
I printed random and it's always equal to 2.
Can any of you guys tell me what the problem is?