Fix for Vocodes v1 removal

Mistakenly deleted files with function still in use
This commit is contained in:
Brandon Thomas committed 2022-07-10 02:05:53 -04:00
1 parent c8f70910b6
commit b3f4477dd2
3 files changed
+19 -2

No files matched your search

@@ -0,0 +1,11 @@
/**
* Generate a random integer in range.
* @param min minimum inclusive
* @param max maximum exclusive
*/
export function GetRandomInt(min: number, max: number) : number {
min = Math.ceil(min);
max = Math.floor(max);
return Math.floor(Math.random() * (max - min)) + min;
}