aboutsummaryrefslogtreecommitdiff
path: root/test-client/main.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-08-12 17:22:27 +0200
committermetamuffin <metamuffin@disroot.org>2024-08-12 17:22:27 +0200
commit3483902113a08f4147b3ae38e56df90ba4aecf94 (patch)
tree5ebbc9e07b6adabe1bb024ef69a1694bb1a91a2a /test-client/main.ts
parent9cd864b9ac6dc634d785b3f83e5c1b8df9a86150 (diff)
downloadhurrycurry-3483902113a08f4147b3ae38e56df90ba4aecf94.tar
hurrycurry-3483902113a08f4147b3ae38e56df90ba4aecf94.tar.bz2
hurrycurry-3483902113a08f4147b3ae38e56df90ba4aecf94.tar.zst
tc: add all tiles and items
Diffstat (limited to 'test-client/main.ts')
-rw-r--r--test-client/main.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-client/main.ts b/test-client/main.ts
index 00699b60..78c20d72 100644
--- a/test-client/main.ts
+++ b/test-client/main.ts
@@ -125,7 +125,7 @@ function get_item_location(loc: ItemLocation): PlayerData | TileData {
function send(p: PacketS) { ws.send(JSON.stringify(p)) }
function packet(p: PacketC) {
- if (!["position", "set_progress", "update_map"].includes(p.type))
+ if (!["movement", "set_progress", "update_map"].includes(p.type))
console.log(p);
switch (p.type) {
case "version":