mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-09 03:21:23 +00:00
Fix for Vocodes v1 removal
Mistakenly deleted files with function still in use
This commit is contained in:
1 parent
c8f70910b6
commit
b3f4477dd2
3 files changed
+19
-2
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import { GetRandomInt } from "./GetRandomInt";
|
||||
|
||||
export function GetRandomArrayValue<T>(array: Array<T>) : T {
|
||||
let index = GetRandomInt(0, array.length);
|
||||
return array[index];
|
||||
}
|
||||
Reference in new issue
Block a user