From 80c134e0f0f018225dcad4d35c6eba0d530ba595 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sat, 26 Mar 2022 16:45:11 +0100 Subject: fix OOC name --- webAO/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webAO/client.ts') 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 - (document.getElementById('OOC_name')).value = getCookie('OOC_name') || `web${String(Math.random() * 100 + 10)}`; + (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'; -- cgit