diff options
| author | Caleb <caleb.mabry.15@cnu.edu> | 2022-09-09 18:46:42 -0400 |
|---|---|---|
| committer | Caleb <caleb.mabry.15@cnu.edu> | 2022-09-09 18:46:42 -0400 |
| commit | 93979636fb5d1c60f0da3290e80eb3ca9ead992f (patch) | |
| tree | 4770a2375d594ef080aa4ad8262aa2df42831c26 /webAO/packets/handlers/handleSC.ts | |
| parent | e50167a8077b0ada769cdf785971972c3ad865f7 (diff) | |
Migrated functions
Diffstat (limited to 'webAO/packets/handlers/handleSC.ts')
| -rw-r--r-- | webAO/packets/handlers/handleSC.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webAO/packets/handlers/handleSC.ts b/webAO/packets/handlers/handleSC.ts index f4953e0..b42a4cd 100644 --- a/webAO/packets/handlers/handleSC.ts +++ b/webAO/packets/handlers/handleSC.ts @@ -1,6 +1,7 @@ import queryParser from "../../utils/queryParser"; import { client } from '../../client' +import { handleCharacterInfo } from "../../client/handleCharacterInfo"; let { mode } = queryParser(); /** @@ -30,7 +31,7 @@ export const handleSC = async (args: string[]) => { document.getElementById("client_loadingbar") )).value = charid; await sleep(0.1); // TODO: Too many network calls without this. net::ERR_INSUFFICIENT_RESOURCES - client.handleCharacterInfo(chargs, charid); + handleCharacterInfo(chargs, charid); } // We're done with the characters, request the music client.sender.sendServer("RM#%"); |
