diff --git a/fx_core.js b/fx_core.js index 8659cb8..9fea5d7 100644 --- a/fx_core.js +++ b/fx_core.js @@ -247,7 +247,7 @@ const playerList = new (function () { let listContent = `

Players (${gHumans})

`; for (let i = 0; i < gLobbyMaxJoin; i++) { if (i === gHumans) listContent += `

Bots (${gLobbyMaxJoin - gHumans})

`; - listContent += `${i}. ${escapeHtml(playerNames[i])}` + listContent += `${i + 1}. ${escapeHtml(playerNames[i])}` } document.getElementById("playerlist_content").innerHTML = listContent; document.getElementById("playerlist_content").setAttribute("class", getVar("gIsTeamGame") ? "clickable" : ""); diff --git a/index.html b/index.html index ebd7d24..97ccc5b 100644 --- a/index.html +++ b/index.html @@ -34,7 +34,7 @@ - +