Fix "Highlight clan spawnpoints" feature not working

Update v0.6.6.10
main
peshomir 2024-12-25 11:45:44 +02:00
parent f909347059
commit 51e6f2ebaa
2 changed files with 5 additions and 3 deletions

View File

@ -140,7 +140,9 @@ canvas.font=aY.g0.g1(1,fontSize),canvas.fillStyle="rgba("+gR+","+tD+","+hj+",0.6
`, ${dict.game}.${dict.gIsTeamGame} && __fx.donationsTracker.displayHistory($2, ${rawPlayerNames}, ${gIsSingleplayer}), $1 && !isEmptySpace $3`);
// Reset donation history and leaderboard filter when a new game is started
replaceOne(new RegExp(`,this\\.${dictionary.playerBalances}.fill\\(0\\),`, "g"), "$& __fx.donationsTracker.reset(), __fx.leaderboardFilter.reset(), __fx.customLobby.isActive() && __fx.customLobby.hideWindow(), ");
replaceRawCode(",ab.dP(),ad.a10(),b5.nZ.oJ=[],bc.dP(),this.wE=1,",
`,ab.dP(),ad.a10(),b5.nZ.oJ=[],bc.dP(),this.wE=1,
__fx.donationsTracker.reset(), __fx.leaderboardFilter.reset(), __fx.customLobby.isActive() && __fx.customLobby.hideWindow(),`)
{ // Player list and leaderboard filter tabs
// Draw player list button

View File

@ -1,5 +1,5 @@
const fx_version = '0.6.6.9'; // FX Client Version
const fx_update = 'Dec 24'; // FX Client Last Updated
const fx_version = '0.6.6.10'; // FX Client Version
const fx_update = 'Dec 25'; // FX Client Last Updated
import settingsManager from './settings.js';
import { clanFilter, leaderboardFilter } from "./clanFilters.js";