Automatically convert lobby code to lowercase

main
peshomir 2024-10-15 20:06:34 +03:00
parent f4fb7af669
commit 863d702471
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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';