CommonRandomItemFromList<T>(ItemPrevious: T, ItemList: readonly T[]): T
Get a random item from a list while making sure not to pick the previous one.
Function expects unique values in the list. If there are multiple instances of ItemPrevious, it may still return it.
Get a random item from a list while making sure not to pick the previous one. Function expects unique values in the list. If there are multiple instances of ItemPrevious, it may still return it.