fix sleeve memory bug

This commit is contained in:
Olivier Gagnon
2021-09-08 23:47:34 -04:00
parent bada8a5f39
commit 2a13db39c7
360 changed files with 5424 additions and 15764 deletions
+1 -8
View File
@@ -5,14 +5,7 @@ import { getRandomByte } from "./helpers/getRandomByte";
* Does not check to see if the IP already exists in the game
*/
export function createRandomIp(): string {
const ip: string =
getRandomByte(99) +
"." +
getRandomByte(9) +
"." +
getRandomByte(9) +
"." +
getRandomByte(9);
const ip: string = getRandomByte(99) + "." + getRandomByte(9) + "." + getRandomByte(9) + "." + getRandomByte(9);
return ip;
}