aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleCI.ts
diff options
context:
space:
mode:
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