From 863d702471f707ad323ea5d4137885de1be4ef61 Mon Sep 17 00:00:00 2001 From: peshomir <80340328+peshomir@users.noreply.github.com> Date: Tue, 15 Oct 2024 20:06:34 +0300 Subject: [PATCH] Automatically convert lobby code to lowercase --- src/customLobby.js | 2 +- src/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/customLobby.js b/src/customLobby.js index aef1c90..a59f5a7 100644 --- a/src/customLobby.js +++ b/src/customLobby.js @@ -98,7 +98,7 @@ function showJoinPrompt() { } document.getElementById("lobbyCode").addEventListener("input", ({ target: input }) => { if (input.value.length !== 5) return; - currentCode = input.value; + currentCode = input.value.toLowerCase(); input.value = ""; WindowManager.closeWindow("lobbyJoinMenu"); isActive = true; diff --git a/src/main.js b/src/main.js index f973644..72250bd 100644 --- a/src/main.js +++ b/src/main.js @@ -1,4 +1,4 @@ -const fx_version = '0.6.6.1'; // FX Client Version +const fx_version = '0.6.6.2'; // FX Client Version const fx_update = 'Oct 15'; // FX Client Last Updated import settingsManager from './settings.js';