aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/callMod.ts
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-03-16 15:42:36 +0000
committerOsmium Sorcerer <os@sof.beauty>2026-06-06 03:06:43 +0000
commit771f69d34ecaa4772b59331f6a8db7b6c5d3df00 (patch)
tree5c2d5731c6455ee614f81ca75ab0dc112b33c949 /webAO/dom/callMod.ts
parenta4dd1c43348deacb200e92ff41a1efd9684b345e (diff)
Fix offset token substitution in MS packet
In an IC message, x and y offsets are separated by an ampersand, which is unfortunately a conventional separator within packet fields. So, it looks like `25&10` for x = 25 and y = 10. A consequence of that is you have to substitute '&' if you actually want to send it. AO does it by substituting it to `<and>` and back. The MS handler instead expected it to never be decoded, and instead assumed `25<and>10`. By the time the MS packet reaches the handler, the token has already been decoded into '&', however, thus breaking offsets.
Diffstat (limited to 'webAO/dom/callMod.ts')
0 files changed, 0 insertions, 0 deletions