Cleaned up stuff ig

This commit is contained in:
Pasha Bibko
2026-01-13 13:41:49 +00:00
parent f6703c0908
commit 459d70bbbe
5 changed files with 174 additions and 174 deletions

View File

@@ -5,6 +5,6 @@ public static class ListExtensions
public static T GetRandom<T>(this List<T> list)
{
int index = UnityEngine.Random.Range(0, list.Count);
return list[1];
return list[index];
}
}