mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 13:30:07 +01:00
Remove unnecessary randomize() (#862)
Seed is now automatically randomized on startup in Godot 4.
This commit is contained in:
@@ -5,7 +5,6 @@ extends Node3D
|
||||
# To use, attach this script to the "Walls" node.
|
||||
|
||||
func _ready():
|
||||
randomize()
|
||||
var walls = get_tree().get_nodes_in_group("walls")
|
||||
for wall in walls:
|
||||
var material = StandardMaterial3D.new()
|
||||
|
||||
Reference in New Issue
Block a user