diff options
| author | David Skoland <davidskoland@gmail.com> | 2023-11-19 23:59:45 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2023-11-20 21:10:04 +0100 |
| commit | 45dd60334185f97a0798c8ba7adad98261309878 (patch) | |
| tree | 35b86d148b235ecba85138dccf50f3116ba8dfc8 /webAO/master.ts | |
| parent | 9589b233b2ff8e9064350e73e28bdc633f0d2a9f (diff) | |
Nice off-by-one error bro
Diffstat (limited to 'webAO/master.ts')
| -rw-r--r-- | webAO/master.ts | 2 |
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 = ''; |
