aboutsummaryrefslogtreecommitdiff
path: root/test-client/main.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-25 00:31:43 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-25 00:31:43 +0200
commite4aae7680926d5023a22776d0c332d22c735b034 (patch)
tree6769b9bb62ac61423557af7718929348bfc8aa1c /test-client/main.ts
parenta36e8d2f23c659cea1e12654cff9c7565a9762b6 (diff)
downloadhurrycurry-e4aae7680926d5023a22776d0c332d22c735b034.tar
hurrycurry-e4aae7680926d5023a22776d0c332d22c735b034.tar.bz2
hurrycurry-e4aae7680926d5023a22776d0c332d22c735b034.tar.zst
tc: particle hue
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 09e1c99a..3568244e 100644
--- a/test-client/main.ts
+++ b/test-client/main.ts
@@ -335,7 +335,7 @@ function keyboard(ev: KeyboardEvent, down: boolean) {
if (!keys_down.has(KEY_INTERACT) && ev.code == KEY_INTERACT && down) set_interact(true)
if (keys_down.has(KEY_INTERACT) && ev.code == KEY_INTERACT && !down) set_interact(false)
if (down && ev.code in QUICK_COMMANDS) send({ player: my_id, type: "communicate", message: { text: QUICK_COMMANDS[ev.code] } })
- if (down && ev.code == "KeyE") particle_splash(get_interact_target() ?? { x: 0, y: 0 })
+ if (down && ev.code == "KeyE") particle_splash(get_interact_target() ?? { x: 0, y: 0 }, 0.8)
if (down) keys_down.add(ev.code)
else keys_down.delete(ev.code)
}