aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleSP.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/packets/handlers/handleSP.ts')
-rw-r--r--webAO/packets/handlers/handleSP.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/webAO/packets/handlers/handleSP.ts b/webAO/packets/handlers/handleSP.ts
new file mode 100644
index 0000000..e2cad18
--- /dev/null
+++ b/webAO/packets/handlers/handleSP.ts
@@ -0,0 +1,9 @@
+import { updateActionCommands } from "../../client";
+
+/**
+* position change
+* @param {string} pos new position
+*/
+export const handleSP = (args: string[]) => {
+ updateActionCommands(args[1]);
+} \ No newline at end of file