summaryrefslogtreecommitdiff
path: root/client-web/source/keybinds.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client-web/source/keybinds.ts')
-rw-r--r--client-web/source/keybinds.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client-web/source/keybinds.ts b/client-web/source/keybinds.ts
index bbae1b8..028e119 100644
--- a/client-web/source/keybinds.ts
+++ b/client-web/source/keybinds.ts
@@ -21,7 +21,7 @@ export function setup_keybinds(room: Room) {
if (ev.code == "KeyM" || ev.code == "KeyR") room.local_user.await_add_resource(room.local_user.create_mic_res())
if (ev.code == "KeyS") room.local_user.await_add_resource(room.local_user.create_screencast_res())
if (ev.code == "KeyC" && !ev.ctrlKey) room.local_user.await_add_resource(room.local_user.create_camera_res())
- if (ev.code == "KeyC" && ev.ctrlKey) room.local_user.resources.forEach(t => t.end())
+ if (ev.code == "KeyC" && ev.ctrlKey) room.local_user.resources.forEach(t => t.destroy())
}
command_mode = false
})