diff options
| author | David Skoland <davidskoland@gmail.com> | 2023-11-30 19:48:50 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2023-11-30 19:48:50 +0100 |
| commit | d3658f529faba81faf585001625371256b95e540 (patch) | |
| tree | c888956adbe50afc57a61d91982dcd64391172c0 /webAO/master.ts | |
| parent | faf419c70ae5cf3f0f735a0b89165381f80e104d (diff) | |
Make localhost and singleplayer fill the type correctly
Diffstat (limited to 'webAO/master.ts')
| -rw-r--r-- | webAO/master.ts | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/webAO/master.ts b/webAO/master.ts index 03244c8..5a2261a 100644 --- a/webAO/master.ts +++ b/webAO/master.ts @@ -31,20 +31,19 @@ servers[-2] = { name: 'Singleplayer', description: 'Build cases, try out new things', ip: '127.0.0.1', - port: 50001, - assets: '', - online: 'Online: 0/1', players: 0, -}; + online: 'Singleplayer', + port: 50001, +} as AOServer; + servers[-1] = { name: 'Localhost', description: 'This is your computer on port 50001', ip: '127.0.0.1', - port: 50001, - assets: '', - online: 'Offline', players: 0, -}; + online: 'Localhost', + port: 50001, +} as AOServer; function main() { |
