From 43b5b1b0161e058544245074c737d25433d5c0bb Mon Sep 17 00:00:00 2001 From: peshomir <80340328+peshomir@users.noreply.github.com> Date: Fri, 28 Feb 2025 09:01:37 +0200 Subject: [PATCH] Fix for update v2.04.4 --- patches/customLobby.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/customLobby.js b/patches/customLobby.js index 4d12858..8582b52 100644 --- a/patches/customLobby.js +++ b/patches/customLobby.js @@ -36,10 +36,10 @@ export default (/** @type {ModUtils} */ { insertCode, replaceRawCode, dictionary wR===1 && __fx.customLobby.isActive() && ${dict.MenuManager}.${dict.getState}() !== 6 && __fx.customLobby.setActive(false); if(8===i.pz&&0===wR)if(4211===d)wS(d);`) // when leaving a game - replaceRawCode("this.wl=function(zs){a1.gZ||az.oO.a11.length||(az.oO.a11=az.a12.vd()),ap.ky.zt(),this.vH=0,bU.zu(),m.n.setState(0),zs||bJ.df.show(),aN.setState(0),2===this.a3D?i.ky.a3U():1===this.a3D?i.j(19):i.j(5,5)}", + replaceRawCode("this.wl=function(zs){a1.gZ||az.oO.a11.length||(az.oO.a11=az.a12.vd()),ap.ky.zt(),this.vH=0,bU.zu(),m.n.setState(0),aN.setState(0),zs||bJ.df.show(),2===this.a3D?i.ky.a3U():1===this.a3D?i.j(19):i.j(5,5)}", `this.wl=function(zs){a1.gZ||az.oO.a11.length||(az.oO.a11=az.a12.vd()), __fx.customLobby.isActive() === false && ap.ky.zt(), - this.vH=0,bU.zu(),m.n.setState(0),zs||bJ.df.show(),aN.setState(0); + this.vH=0,bU.zu(),m.n.setState(0),aN.setState(0),zs||bJ.df.show(); if (__fx.customLobby.isActive()) __fx.customLobby.rejoinLobby(); else 2===this.a3D?i.ky.a3U():1===this.a3D?i.j(19):i.j(5,5)}`) // do not display lobby UI replaceRawCode(`(sV.style.backdropFilter="blur(4px)",sV.style.webkitBackdropFilter="blur(4px)"),`,