aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleCI.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-09-10 14:12:53 +0200
committerGitHub <noreply@github.com>2022-09-10 14:12:53 +0200
commitabba7630e13f7e5269c14c2c43b66b03559ddfe3 (patch)
tree4770a2375d594ef080aa4ad8262aa2df42831c26 /webAO/packets/handlers/handleCI.ts
parent09a23ea9d7ee37d8e2dfb036786c41ce37496c51 (diff)
parent93979636fb5d1c60f0da3290e80eb3ca9ead992f (diff)
Merge pull request #173 from caleb-mabry/trying-to-minimize
Client at 297 lines
Diffstat (limited to 'webAO/packets/handlers/handleCI.ts')
-rw-r--r--webAO/packets/handlers/handleCI.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/webAO/packets/handlers/handleCI.ts b/webAO/packets/handlers/handleCI.ts
index 53e42f7..cb693bc 100644
--- a/webAO/packets/handlers/handleCI.ts
+++ b/webAO/packets/handlers/handleCI.ts
@@ -1,4 +1,5 @@
import { client } from '../../client'
+import { handleCharacterInfo } from '../../client/handleCharacterInfo'
/**
* Handles incoming character information, bundling multiple characters
* per packet.
@@ -18,7 +19,7 @@ export const handleCI = (args: string[]) => {
(<HTMLProgressElement>(
document.getElementById("client_loadingbar")
)).value = charid;
- setTimeout(() => client.handleCharacterInfo(chargs, charid), 500);
+ setTimeout(() => handleCharacterInfo(chargs, charid), 500);
}
}
// Request the next pack