Removing dead code

This commit is contained in:
David Négrier 2021-07-21 16:33:56 +02:00
parent aa19e8a7cd
commit 181545e6b7

View File

@ -687,24 +687,9 @@ export class SocketManager {
}
room.addRoomListener(call);
//const things = room.addZoneListener(call, x, y);
const batchMessage = new BatchToPusherRoomMessage();
// Finally, no need to store variables in the pusher, let's only make it act as a relay
/*const variables = await room.getVariables();
for (const [name, value] of variables.entries()) {
const variableMessage = new VariableMessage();
variableMessage.setName(name);
variableMessage.setValue(value);
const subMessage = new SubToPusherRoomMessage();
subMessage.setVariablemessage(variableMessage);
batchMessage.addPayload(subMessage);
}*/
call.write(batchMessage);
}