aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2021-10-09 13:39:27 +0200
committerstonedDiscord <Tukz@gmx.de>2021-10-09 13:39:27 +0200
commit86754335392e752b092cb729cc09cc637ff05f68 (patch)
treeb3ef5798e399f02a9d2c5f624de8d865534a6cb6
parent6a85cb575dd37a6ea01233ed148effcf0f6590d4 (diff)
parse offset like fucked client does
-rw-r--r--webAO/client.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 027c334..4dd89b8 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -651,8 +651,8 @@ class Client extends EventEmitter {
other_charid: Number(args[17]),
other_name: safe_tags(args[18]),
other_emote: safe_tags(args[19]),
- self_offset: args[20].split('&'),
- other_offset: args[21].split('&'),
+ self_offset: args[20].split('<and>'), // HACK: here as well, client is fucked and uses this instead of &
+ other_offset: args[21].split('<and>'),
other_flip: Number(args[22]),
noninterrupting_preanim: Number(args[23])
};