gh-pages
mohsenemx 2024-03-11 21:16:32 +00:00
parent ee2f347363
commit 42a1693929
2 changed files with 5 additions and 5 deletions

View File

@ -247,7 +247,7 @@ const playerList = new (function () {
let listContent = `<h3>Players (${gHumans})</h3>`;
for (let i = 0; i < gLobbyMaxJoin; i++) {
if (i === gHumans) listContent += `<h3>Bots (${gLobbyMaxJoin - gHumans})</h3>`;
listContent += `<tr data-player-id="${i}"><td><span class="color-light-gray">${i}.</span> ${escapeHtml(playerNames[i])}</td></tr>`
listContent += `<tr data-player-id="${i}"><td><span class="color-light-gray">${i + 1}.</span> ${escapeHtml(playerNames[i])}</td></tr>`
}
document.getElementById("playerlist_content").innerHTML = listContent;
document.getElementById("playerlist_content").setAttribute("class", getVar("gIsTeamGame") ? "clickable" : "");

View File

@ -34,7 +34,7 @@
<meta itemprop="image" content="https://mohsenemx.github.io/FXclient/assets/logo.png">
<!-- FX Client CSS -->
<link rel="stylesheet" href="main.css?1710097154884">
<link rel="stylesheet" href="main.css?1710191790902">
<!-- Game CSS -->
<style>
html,
@ -119,8 +119,8 @@
<p id="donationhistory_note">Note: donations from bots are not shown here</p>
<table><tbody id="donationhistory_content"></tbody></table>
</div>
<script src="variables.js?1710097154884"></script>
<script src="fx_core.js?1710097154884"></script>
<script src="game.js?1710097154884"></script>
<script src="variables.js?1710191790902"></script>
<script src="fx_core.js?1710191790902"></script>
<script src="game.js?1710191790902"></script>
</body>
</html>