gh-pages
peshomir 2026-07-23 06:20:53 +00:00
parent 4eaf18dcf2
commit 65e7b904fd
4 changed files with 13 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -4728,15 +4728,19 @@ function cP() {
if (__fx.leaderboardFilter.showingRivals) gi = 1;
if (__fx.leaderboardFilter.showingRivals) {
let rivalsCount = __fx.leaderboardFilter.rivalsData.length;
if (position !== 0 && position >= rivalsCount - aBF)
position = (rivalsCount > aBF ? rivalsCount : aBF) - aBF;
var rivalsRestore = [];
try {
for (var rivalsRow = 0; rivalsRow < aBF; rivalsRow++) {
var rivalsEntry = __fx.leaderboardFilter.rivalsData[rivalsRow + position];
if (rivalsEntry === undefined) break;
var repId = rivalsEntry.representativeId;
rivalsRestore.push([repId, ah.gx[repId], ah.zb[repId]]);
rivalsRestore.push([repId, ah.gx[repId], ah.zb[repId], ah.a4W[repId]]);
ah.gx[repId] = rivalsEntry.territory;
ah.zb[repId] = "[" + rivalsEntry.clan + "]";
ah.a4W[repId] = 0;
}
for (aBH.font = aBE, bD.r2.textAlign(aBH, 0), fS = aBF - gi; 0 <= fS; fS--) {
const rivalsEntryLeft = __fx.leaderboardFilter.rivalsData[fS + position];
@ -4752,6 +4756,7 @@ function cP() {
rivalsRestore.forEach(function(entry) {
ah.gx[entry[0]] = entry[1];
ah.zb[entry[0]] = entry[2];
ah.a4W[entry[0]] = entry[3];
});
}
} else if (__fx.leaderboardFilter.enabled) {

View File

@ -36,7 +36,7 @@
<meta itemprop="image" content="https://fxclient.github.io/FXclient/assets/logo.png">
<!-- FX Client CSS -->
<link rel="stylesheet" href="main.css?1784719001783">
<link rel="stylesheet" href="main.css?1784787644652">
<!-- Game CSS -->
<style>
html,
@ -146,9 +146,9 @@
<button onclick="document.getElementById('updateNotification').style.display = 'none'">Dismiss</button>
</div>
</span>
<script src="variables.js?1784719001783"></script>
<script src="fx.bundle.js?1784719001783"></script>
<script src="game.js?1784719001783"></script>
<script src="variables.js?1784787644652"></script>
<script src="fx.bundle.js?1784787644652"></script>
<script src="game.js?1784787644652"></script>
</body>
</html>

2
sw2.js
View File

@ -1,4 +1,4 @@
const cacheName = "1784719001783"; // this gets replaced by the build script
const cacheName = "1784787644652"; // this gets replaced by the build script
self.addEventListener("install", (e) => {
console.log("[Service Worker] Install", cacheName);