diff options
| -rw-r--r-- | webAO/client.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.ts b/webAO/client.ts index 04a1814..78bd6bf 100644 --- a/webAO/client.ts +++ b/webAO/client.ts @@ -507,7 +507,7 @@ class Client extends EventEmitter { }); // Read cookies and set the UI to its values - (<HTMLInputElement>document.getElementById('OOC_name')).value = getCookie('OOC_name') || `web${String(Math.random() * 100 + 10)}`; + (<HTMLInputElement>document.getElementById('OOC_name')).value = getCookie('OOC_name') || `web${String(Math.round(Math.random() * 100 + 10))}`; // Read cookies and set the UI to its values const cookietheme = getCookie('theme') || 'default'; |
