aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-03-26 16:45:11 +0100
committerstonedDiscord <Tukz@gmx.de>2022-03-26 16:45:11 +0100
commit80c134e0f0f018225dcad4d35c6eba0d530ba595 (patch)
tree7034dfde1bcb2ed049666ae3bf43f102d0e8a806 /webAO
parente1cb9e4b204f57d6313a359566b908e90611ab1a (diff)
fix OOC name
Diffstat (limited to 'webAO')
-rw-r--r--webAO/client.ts2
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';