From 1eb2f6084c2a8b3f41cc59b3afe354e667cfce0b Mon Sep 17 00:00:00 2001 From: ntr Date: Wed, 6 Mar 2019 12:52:17 +1100 Subject: [PATCH] socket update for vbox --- client/src/socket.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/socket.js b/client/src/socket.js index 37f18af7..f5b3980c 100644 --- a/client/src/socket.js +++ b/client/src/socket.js @@ -93,8 +93,8 @@ function createSocket(events) { send({ method: 'player_state', params: { instance_id: instanceId } }); } - function sendVboxAccept(instanceId, i) { - send({ method: 'player_vbox_accept', params: { instance_id: instanceId, index: i } }); + function sendVboxAccept(instanceId, group, index) { + send({ method: 'player_vbox_accept', params: { instance_id: instanceId, group, index } }); } function sendVboxApply(instanceId, crypId, index) {