aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/packets')
-rw-r--r--webAO/packets/handlers/handleASS.ts2
-rw-r--r--webAO/packets/handlers/handleBN.ts4
-rw-r--r--webAO/packets/handlers/handleEI.ts3
-rw-r--r--webAO/packets/handlers/handleLE.ts3
-rw-r--r--webAO/packets/handlers/handleMC.ts3
-rw-r--r--webAO/packets/handlers/handlePV.ts3
-rw-r--r--webAO/packets/handlers/handleZZ.ts3
7 files changed, 14 insertions, 7 deletions
diff --git a/webAO/packets/handlers/handleASS.ts b/webAO/packets/handlers/handleASS.ts
index d0dfbd5..ea8a0d3 100644
--- a/webAO/packets/handlers/handleASS.ts
+++ b/webAO/packets/handlers/handleASS.ts
@@ -1,4 +1,4 @@
-import { setAOhost } from "../../client";
+import { setAOhost } from "../../client/aoHost";
/**
diff --git a/webAO/packets/handlers/handleBN.ts b/webAO/packets/handlers/handleBN.ts
index f7b8447..067130d 100644
--- a/webAO/packets/handlers/handleBN.ts
+++ b/webAO/packets/handlers/handleBN.ts
@@ -1,7 +1,9 @@
-import { AO_HOST, client, getIndexFromSelect, updateBackgroundPreview } from "../../client";
+import { client, getIndexFromSelect, updateBackgroundPreview } from "../../client";
+import { AO_HOST } from "../../client/aoHost";
import { safeTags } from "../../encoding";
import tryUrls from "../../utils/tryUrls";
+
/**
* Handles a background change.
* @param {Array} args packet arguments
diff --git a/webAO/packets/handlers/handleEI.ts b/webAO/packets/handlers/handleEI.ts
index e96f0c9..c74e4d4 100644
--- a/webAO/packets/handlers/handleEI.ts
+++ b/webAO/packets/handlers/handleEI.ts
@@ -1,4 +1,5 @@
-import { AO_HOST, client } from '../../client'
+import { client } from '../../client'
+import { AO_HOST } from '../../client/aoHost';
import { prepChat, safeTags } from '../../encoding';
/**
diff --git a/webAO/packets/handlers/handleLE.ts b/webAO/packets/handlers/handleLE.ts
index 28f0b40..1eaeb27 100644
--- a/webAO/packets/handlers/handleLE.ts
+++ b/webAO/packets/handlers/handleLE.ts
@@ -1,4 +1,5 @@
-import { AO_HOST, client } from '../../client'
+import { client } from '../../client'
+import { AO_HOST } from '../../client/aoHost';
import { prepChat, safeTags } from '../../encoding';
/**
diff --git a/webAO/packets/handlers/handleMC.ts b/webAO/packets/handlers/handleMC.ts
index 28254ba..bf60eb9 100644
--- a/webAO/packets/handlers/handleMC.ts
+++ b/webAO/packets/handlers/handleMC.ts
@@ -1,5 +1,6 @@
import { prepChat } from "../../encoding";
-import { AO_HOST, appendICLog, client } from '../../client'
+import { appendICLog, client } from '../../client'
+import { AO_HOST } from "../../client/aoHost";
/**
* Handles a music change to an arbitrary resource.
diff --git a/webAO/packets/handlers/handlePV.ts b/webAO/packets/handlers/handlePV.ts
index 5bdb702..fba2a3c 100644
--- a/webAO/packets/handlers/handlePV.ts
+++ b/webAO/packets/handlers/handlePV.ts
@@ -1,6 +1,7 @@
-import { AO_HOST, client, pickEmotion } from "../../client";
+import { client, pickEmotion } from "../../client";
import fileExists from "../../utils/fileExists";
import { updateActionCommands } from '../../dom/updateActionCommands'
+import { AO_HOST } from "../../client/aoHost";
/**
* Handles the server's assignment of a character for the player to use.
diff --git a/webAO/packets/handlers/handleZZ.ts b/webAO/packets/handlers/handleZZ.ts
index 1a56e49..1c1cb1d 100644
--- a/webAO/packets/handlers/handleZZ.ts
+++ b/webAO/packets/handlers/handleZZ.ts
@@ -1,4 +1,5 @@
-import { AO_HOST, client } from "../../client";
+import { client } from "../../client";
+import { AO_HOST } from "../../client/aoHost";
import { prepChat } from "../../encoding";