Fix error when leaving lobby

main
peshomir 2025-01-12 23:55:30 +02:00
parent fa3810e735
commit e41be64891
2 changed files with 2 additions and 2 deletions

View File

@ -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){

View File

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