From e41be648912951d4325f277302c928275332bd87 Mon Sep 17 00:00:00 2001 From: peshomir <80340328+peshomir@users.noreply.github.com> Date: Sun, 12 Jan 2025 23:55:30 +0200 Subject: [PATCH] Fix error when leaving lobby --- patches.js | 2 +- src/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/patches.js b/patches.js index fd84f53..204e8ff 100644 --- a/patches.js +++ b/patches.js @@ -319,7 +319,7 @@ canvas.font=aY.g0.g1(1,fontSize),canvas.fillStyle="rgba("+gR+","+tD+","+hj+",0.6 "this.xZ=function(){Sockets.kt.wf(3260),__fx.customLobby.setActive(false),i___.kt.we()}") replaceRawCode("function(){n.r(),bl.zf(),Sockets.s.ze(3240),n.o(5,5)}", `(__fx.customLobby.setLeaveFunction(() => {n.r(),bl.zf(),Sockets.s.ze(3240),__fx.customLobby.setActive(false),n.o(5,5)}), - function(){bl.zf(),Sockets.s.ze(3240),__fx.customLobby.setActive(false),n.r(),n.o(5,5)})`) + function(){n.r(),bl.zf(),Sockets.s.ze(3240),__fx.customLobby.setActive(false),n.o(5,5)})`) // when a socket error occurs on the custom lobby socket replaceRawCode("this.wQ=function(wR,d){if(8===i.pz&&0===wR)if(4211===d)wS(d);", `this.wQ=function(wR,d){ diff --git a/src/main.js b/src/main.js index f07d9d0..6eb22f1 100644 --- a/src/main.js +++ b/src/main.js @@ -1,4 +1,4 @@ -const fx_version = '0.6.6.13'; // FX Client Version +const fx_version = '0.6.6.14'; // FX Client Version const fx_update = 'Jan 12'; // FX Client Last Updated import settingsManager from './settings.js';