diff options
| author | stonedDiscord <Tukz@gmx.de> | 2022-07-16 13:57:59 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2022-07-16 13:57:59 +0200 |
| commit | abcba2ff9b3a884952492364fe6b5fe28a6c617f (patch) | |
| tree | ab7d2113659ee9142996d75b0015b7ff4ae94029 /webAO | |
| parent | b4d6d002509d928bcb1c57aa908059e0d946f18c (diff) | |
send deskmod too
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webAO/client.ts b/webAO/client.ts index 3da1dc8..c73f975 100644 --- a/webAO/client.ts +++ b/webAO/client.ts @@ -342,7 +342,7 @@ class Client extends EventEmitter { /** * Sends an in-character chat message. - * @param {string} deskmod currently unused + * @param {string} deskmod controls the desk * @param {string} speaking who is speaking * @param {string} name the name of the current character * @param {string} silent whether or not it's silent @@ -1721,6 +1721,7 @@ class Client extends EventEmitter { preanim: emoteinfo[1].toLowerCase(), emote: emoteinfo[2].toLowerCase(), zoom: Number(emoteinfo[3]) || 0, + deskmod: Number(emoteinfo[4]) || 1, sfx: esfx.toLowerCase(), sfxdelay: esfxd, frame_screenshake: '', @@ -2656,7 +2657,7 @@ export function onEnter(event: KeyboardEvent) { client.sendIC( - 'chat', + myemo.deskmod, myemo.preanim, mychar.name, myemo.emote, |
