aboutsummaryrefslogtreecommitdiff
path: root/webAO/master.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/master.ts')
-rw-r--r--webAO/master.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/master.ts b/webAO/master.ts
index b101d3d..dc169e4 100644
--- a/webAO/master.ts
+++ b/webAO/master.ts
@@ -139,7 +139,7 @@ function getCachedServerlist(): AOServer[] {
function processServerlist(serverlist: AOServer[]) {
const clientURL: string = `${protocol}//${host}/client.html`;
- for (let i = 0; i < serverlist.length - 1; i++) {
+ for (let i = 0; i < serverlist.length; i++) {
const server = serverlist[i];
let port = 0;
let protocol = '';