aboutsummaryrefslogtreecommitdiff
path: root/test-client/main.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-23 14:23:37 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-23 19:32:37 +0200
commit267869f2d3dcf762a3db4dbc885f6b90a9a4ad41 (patch)
tree22102815548f4326a610ec95aa289f9df8963fa2 /test-client/main.ts
parent70a6107085d921a3020d2037a09abdaa40970722 (diff)
downloadhurrycurry-267869f2d3dcf762a3db4dbc885f6b90a9a4ad41.tar
hurrycurry-267869f2d3dcf762a3db4dbc885f6b90a9a4ad41.tar.bz2
hurrycurry-267869f2d3dcf762a3db4dbc885f6b90a9a4ad41.tar.zst
higher tp threshold
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 d3d1eb54..cdef5a91 100644
--- a/test-client/main.ts
+++ b/test-client/main.ts
@@ -112,7 +112,7 @@ function packet(p: PacketC) {
const pl = players.get(p.player)!
const pos = { x: p.pos[0], y: p.pos[1] }
const dist = length(sub_v2(pl, pos));
- if (p.player == my_id && dist < 1) return; // we know better where we are
+ if (p.player == my_id && dist < 3) return; // we know better where we are
pl.x = pos.x
pl.y = pos.y
pl.rot = p.rot