Compare commits
	
		
			No commits in common. "23b92f6f639de353398b27609ab79a4067a3fd14" and "38edf66a73543cb94a7e2a4ed8c769f0200c7af8" have entirely different histories. 
		
	
	
		
			23b92f6f63
			...
			38edf66a73
		
	
		
	| 
						 | 
					@ -362,11 +362,6 @@ canvas.font=aY.g0.g1(1,fontSize),canvas.fillStyle="rgba("+gR+","+tD+","+hj+",0.6
 | 
				
			||||||
            this.maxPlayers=this.gLobbyMaxJoin,this.gBots=this.gLobbyMaxJoin-this.gHumans,this.sg=0,`)
 | 
					            this.maxPlayers=this.gLobbyMaxJoin,this.gBots=this.gLobbyMaxJoin-this.gHumans,this.sg=0,`)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Detailed team pie chart percentage
 | 
					 | 
				
			||||||
    replaceRawCode(`qr=Math.floor(100*f0+.5)+"%"`,
 | 
					 | 
				
			||||||
        `qr = (__fx.settings.detailedTeamPercentage ? (100*f0).toFixed(2) : Math.floor(100*f0+.5)) + "%"`)
 | 
					 | 
				
			||||||
    replaceRawCode(",fontSize=+dz*Math.min(f0,.37);", ",fontSize=(__fx.settings.detailedTeamPercentage ? 0.75 : 1)*dz*Math.min(f0,.37);")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    // Invalid hostname detection avoidance
 | 
					    // Invalid hostname detection avoidance
 | 
				
			||||||
    replaceRawCode(`,hostnameIsValid=0<=window.location.hostname.toLowerCase().indexOf("territorial.io"),`,
 | 
					    replaceRawCode(`,hostnameIsValid=0<=window.location.hostname.toLowerCase().indexOf("territorial.io"),`,
 | 
				
			||||||
        `,hostnameIsValid=true,`)
 | 
					        `,hostnameIsValid=true,`)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
const fx_version = '0.6.6.18'; // FX Client Version
 | 
					const fx_version = '0.6.6.16'; // FX Client Version
 | 
				
			||||||
const fx_update = 'Feb 6'; // FX Client Last Updated
 | 
					const fx_update = 'Feb 3'; // FX Client Last Updated
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import settingsManager from './settings.js';
 | 
					import settingsManager from './settings.js';
 | 
				
			||||||
import { clanFilter, leaderboardFilter } from "./clanFilters.js";
 | 
					import { clanFilter, leaderboardFilter } from "./clanFilters.js";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,7 +18,6 @@ var settings = {
 | 
				
			||||||
  densityDisplayStyle: "percentage",
 | 
					  densityDisplayStyle: "percentage",
 | 
				
			||||||
  hideBotNames: false,
 | 
					  hideBotNames: false,
 | 
				
			||||||
  highlightClanSpawns: false,
 | 
					  highlightClanSpawns: false,
 | 
				
			||||||
  detailedTeamPercentage: false,
 | 
					 | 
				
			||||||
  //"customMapFileBtn": true
 | 
					  //"customMapFileBtn": true
 | 
				
			||||||
  customBackgroundUrl: "",
 | 
					  customBackgroundUrl: "",
 | 
				
			||||||
  attackPercentageKeybinds: [],
 | 
					  attackPercentageKeybinds: [],
 | 
				
			||||||
| 
						 | 
					@ -88,11 +87,6 @@ const settingsManager = new (function () {
 | 
				
			||||||
      label: "Highlight clan spawnpoints",
 | 
					      label: "Highlight clan spawnpoints",
 | 
				
			||||||
      note: "Increases the spawnpoint glow size for members of your clan",
 | 
					      note: "Increases the spawnpoint glow size for members of your clan",
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
      for: "detailedTeamPercentage", type: "checkbox",
 | 
					 | 
				
			||||||
      label: "Detailed team pie chart percentage",
 | 
					 | 
				
			||||||
      note: "For example: this would show 25.82% instead of 26% on the pie chart in team games"
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      for: "customBackgroundUrl",
 | 
					      for: "customBackgroundUrl",
 | 
				
			||||||
      type: "textInput",
 | 
					      type: "textInput",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue