Update landing.js

This commit is contained in:
luki39 2022-06-21 19:35:39 +02:00
parent 65c20913ae
commit 3317640aa5

View File

@ -591,7 +591,7 @@ function dlAsync(login = true){
setLaunchDetails('Lancement du jeu..') setLaunchDetails('Lancement du jeu..')
// const SERVER_JOINED_REGEX = /\[.+\]: \[CHAT\] [a-zA-Z0-9_]{1,16} joined the game/ // const SERVER_JOINED_REGEX = /\[.+\]: \[CHAT\] [a-zA-Z0-9_]{1,16} joined the game/
const SERVER_JOINED_REGEX = new RegExp(`\\[.+\\]: \\[CHAT\\] ${authUser.displayName} joined the game`) const SERVER_JOINED_REGEX = new RegExp(`\\[.+\\]: \\[CHAT\\] Welcome, Joueur${authUser.displayName}!`)
const onLoadComplete = () => { const onLoadComplete = () => {
toggleLaunchArea(false) toggleLaunchArea(false)