Removes unused variable
Removes the unused 'rng' variable from the trees script. This simplifies the code and reduces unnecessary memory allocation.
This commit is contained in:
parent
33c525a3c0
commit
57602adddb
1 changed files with 0 additions and 1 deletions
|
|
@ -5,7 +5,6 @@ extends Node3D
|
||||||
@export var min_distance: float = 0.5
|
@export var min_distance: float = 0.5
|
||||||
var spawned_positions: Array[Vector3] = []
|
var spawned_positions: Array[Vector3] = []
|
||||||
var parent_ground_tile: GroundTile
|
var parent_ground_tile: GroundTile
|
||||||
# Remove this line: var rng: RandomClass = RandomClass.new()
|
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
parent_ground_tile = get_parent() as GroundTile
|
parent_ground_tile = get_parent() as GroundTile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue