Removing dead code
This commit is contained in:
parent
aa19e8a7cd
commit
181545e6b7
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user