mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Fix syntax error in the randi_range() example in the RNG tutorial
This commit is contained in:
@@ -110,7 +110,7 @@ and ``to``, and returns a random integer between ``from`` and ``to``::
|
||||
# Prints a random floating-point number between -10 and 10.
|
||||
var rng = RandomNumberGenerator.new()
|
||||
rng.randomize()
|
||||
print(rng.randi_range(-10, 10)
|
||||
print(rng.randi_range(-10, 10))
|
||||
|
||||
Get a random array element
|
||||
--------------------------
|
||||
|
||||
Reference in New Issue
Block a user