Skip to content

Commit f7a5d91

Browse files
committed
chore(Collectable): correction on comment
1 parent 76ce008 commit f7a5d91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Scripts/Gameplay/Models/Collectable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected override void OnTriggerEnter(Collider other) {
2020

2121
public override Vector3 GenerateRandomPosition(float horizontalPosition) {
2222
float posY = Random.Range(_posYMinMax.x, _posYMinMax.y);
23-
while (posY < 2 && posY > -2) // exclude bridge position
23+
while (posY < 2 && posY > -2) // exclude bridge thickness
2424
posY = Random.Range(_posYMinMax.x, _posYMinMax.y);
2525

2626
return new Vector3(horizontalPosition, posY, transform.position.z);

0 commit comments

Comments
 (0)