aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleSP.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-09-03 02:13:01 +0200
committerGitHub <noreply@github.com>2022-09-03 02:13:01 +0200
commit20d53ae3a37622805d08e02d3b38175fea0084e2 (patch)
tree98bfddeee34500bb98169de405abf4a1cf114f8c /webAO/packets/handlers/handleSP.ts
parentb87c498ee3e5fb1e6e90084fc093a66abaa311c6 (diff)
parent86b493b881bde4a11214929ebe4317289a7f1da3 (diff)
Merge pull request #162 from caleb-mabry/last-of-the-handlers
Moved rest of the handlers
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