From de92366e0c283f6b9827df2d041980898ff467ab Mon Sep 17 00:00:00 2001 From: peshomir Date: Mon, 3 Jun 2024 16:06:31 +0000 Subject: [PATCH] deploy: 1014c1df67d75b3e775c140a6a17c64d02db3109 --- fx_core.js | 10 +++++----- game.js | 8 ++++---- index.html | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/fx_core.js b/fx_core.js index 1cb6bc0..a1fd4f1 100644 --- a/fx_core.js +++ b/fx_core.js @@ -1,6 +1,6 @@ const dictionary = {"gIsTeamGame":"hX","game":"b","playerId":"ed","playerData":"a8","playerNames":"jx","rawPlayerNames":"xb","playerBalances":"ee","playerTerritories":"f8","gLobbyMaxJoin":"qD","gMaxPlayers":"em","gIsSingleplayer":"iy","gameState":"sK","fontSize":"fontSize","x":"fR","y":"fS","canvas":"gW","gHumans":"h9","playerStates":"hB","Translations":"aZ","txt":"nr","strs":"a1d","uiSizes":"b4","gap":"gap","i":"eM"}; -const fx_version = '0.6.4.3'; // FX Client Version -const fx_update = 'Jun 1'; // FX Client Last Updated +const fx_version = '0.6.4.4'; // FX Client Version +const fx_update = 'Jun 3'; // FX Client Last Updated if (localStorage.getItem("fx_winCount") == undefined || localStorage.getItem("fx_winCount") == null) { var wins_counter = 0; @@ -406,9 +406,9 @@ const leaderboardFilter = new (function() { return isHovering; } this.handleMouseDown = (xRelative) => { - //console.log("click; x: ", xRelative); - if (this.tabHovering !== this.selectedTab) { - this.selectedTab = this.tabHovering; + const tab = Math.floor(xRelative / (this.windowWidth / this.tabLabels.length)); + if (this.selectedTab !== tab) { + this.selectedTab = tab; if (this.selectedTab === 0) this.clearFilter(); else if (this.selectedTab === 1) this.filterByOwnClan(); this.repaintLeaderboard(); diff --git a/game.js b/game.js index 89eea09..f5cdc14 100644 --- a/game.js +++ b/game.js @@ -5522,11 +5522,11 @@ function cL() { function bz() { this.xb = new Array(b.em), this.jx = new Array(b.em), this.hB = new Uint8Array(b.em), this.hA = new Uint8Array(b.em), this.i5 = new Uint16Array(b.em), this.i8 = new Uint16Array(b.em), this.i4 = new Uint16Array(b.em), this.i7 = new Uint16Array(b - .em), this.f8 = new Uint32Array(b.em), this.qS = new Uint32Array(b.em), this.ee = new Uint32Array(b.em), donationsTracker.reset(), leaderboardFilter.reset(), this.ej = null, this.f0 = null, this.f1 = null, this.f4 = null, this.mr = - new Uint16Array(b.em), this.hU = new Uint16Array(b.em), this.hV = new Uint16Array(b.em), this.sW = new Uint16Array(b.em), this.aA0 = new Uint8Array(b.em), this.cy = function(qv) { + .em), this.f8 = new Uint32Array(b.em), this.qS = new Uint32Array(b.em), this.ee = new Uint32Array(b.em), this.ej = null, this.f0 = null, this.f1 = null, this.f4 = null, this.mr = new Uint16Array(b.em), this.hU = new Uint16Array(b.em), + this.hV = new Uint16Array(b.em), this.sW = new Uint16Array(b.em), this.aA0 = new Uint8Array(b.em), this.cy = function(qv) { for (let eM = qv.length - 1; 0 <= eM; eM--) this.jx[eM] = this.xb[eM] = qv[eM].name, this.hB[eM] = qv[eM].a5k; - this.hA.fill(0), this.i5.fill(0), this.i8.fill(0), this.i4.fill(0), this.i7.fill(0), this.f8.fill(0), this.qS.fill(0), this.ee.fill(0), this.ej = new Array(b.em), this.f0 = new Array(b.em), this.f1 = new Array(b.em), this.f4 = new Array(b - .em), this.mr.fill(0), this.hU.fill(0), this.hV.fill(0), this.sW.fill(0), this.aA0.fill(0) + this.hA.fill(0), this.i5.fill(0), this.i8.fill(0), this.i4.fill(0), this.i7.fill(0), this.f8.fill(0), this.qS.fill(0), this.ee.fill(0), donationsTracker.reset(), leaderboardFilter.reset(), this.ej = new Array(b.em), this.f0 = new Array(b + .em), this.f1 = new Array(b.em), this.f4 = new Array(b.em), this.mr.fill(0), this.hU.fill(0), this.hV.fill(0), this.sW.fill(0), this.aA0.fill(0) } } diff --git a/index.html b/index.html index 36c10c4..f6632e1 100644 --- a/index.html +++ b/index.html @@ -35,7 +35,7 @@ - +