diff --git a/tutorials/math/random_number_generation.rst b/tutorials/math/random_number_generation.rst index c31a1d5c079..e11b1f40d12 100644 --- a/tutorials/math/random_number_generation.rst +++ b/tutorials/math/random_number_generation.rst @@ -445,7 +445,7 @@ terrain. Godot provides :ref:`class_fastnoiselite` for this, which supports func _ready(): randomize() # Configure the FastNoiseLite instance. - _noise.noise_type = NoiseType.TYPE_SIMPLEX_SMOOTH + _noise.noise_type = FastNoiseLite.NoiseType.TYPE_SIMPLEX_SMOOTH _noise.seed = randi() _noise.fractal_octaves = 4 _noise.frequency = 1.0 / 20.0